that program ROCKS SO HARD.
i've used it alot in school, but (most awesomely) got to use matlab to help model and study disruption of social networks. man that was an awesome research project
fuck yeah <3 matlab
| Forum Index > General Forum |
|
Day[9]
United States7366 Posts
that program ROCKS SO HARD. i've used it alot in school, but (most awesomely) got to use matlab to help model and study disruption of social networks. man that was an awesome research project fuck yeah <3 matlab | ||
|
Myrmidon
United States9452 Posts
| ||
|
KOFgokuon
United States14911 Posts
i've had to do some linear programming and stochastic simulations with matlab for class | ||
|
Mortality
United States4790 Posts
If I were to give one piece of advice... MATLAB thinks of everything as a matrix. You might look at the name of the program and go "Oh, well, duh!" If you've worked with the program for even 10 seconds, you really ought to know that already. But, the reason I bring that up is that it can be something easy to forget; even a result that is just a number gets stored as a 1-by-1 matrix. If you're not careful, this can cause problems for you, especially if you're trying to observe a system that is non-linear. (In these cases, mathematicians will often try to break down the system and study linear elements in an effort to better understand what's going on.) To be honest, if you're doing graphing, Mathematica is a million times better, and if all you care about is solving differential equations, I'd go with Maple (which, interestingly enough, can also do proofs on its own -- the proof of the Four Color Theorem was done with Maple). But for engineering applications and a lot of experimental physics, I like MATLAB the best. | ||
|
Chill
Calgary25998 Posts
| ||
|
SK.Testie
Canada11084 Posts
This thread just solved such a mystery for me If you read this, fuck you L! loool | ||
|
Meta
United States6228 Posts
| ||
|
micronesia
United States24775 Posts
Mathematica is very nice if somebody else builds the notebook for you, and you just plug the data from your experiment in :3 (Very nice professor) Never used maple. | ||
|
AoN.DimSum
United States2983 Posts
its a really easy class if you want practice tests which is exactly like the exam, msg me (well the practice tests which i got from a friend were the same as the real test) | ||
|
clazziquai
6685 Posts
On September 28 2008 01:16 AoN.DimSum wrote: you are from rutgers engineering right? I took that course last semester its a really easy class if you want practice tests which is exactly like the exam, msg me (well the practice tests which i got from a friend were the same as the real test) Yeah But it got a lot harder man. We have projects now...and work to submit. At least I heard that we didn't have that lsat year? haha | ||
|
AoN.DimSum
United States2983 Posts
![]() | ||
|
clazziquai
6685 Posts
On September 28 2008 03:32 AoN.DimSum wrote: oh that sucks, i cant help you there. ![]() Yeah this sucks lol......=[ | ||
|
Chromyne
Canada561 Posts
Not sure what the actual purpose of this thread is though... | ||
|
Vivi57
United States6599 Posts
| ||
|
IntoTheWow
is awesome32278 Posts
| ||
|
clazziquai
6685 Posts
On September 28 2008 04:12 IntoTheWow wrote: <- MatLab hater. So far I hate it so much. Anyways guys can anyone help me with the "for loops"? Because our teacher never explained us in lecture yet he expects us to do this for our project...lol Begin by running the command: [c2 d2] = xlsread('civil1.xls') Task 1) Save (in the variable c) the matrix containing all of the rows, and only the first, fourth, and fifth columns of c2 Task 2) Save (in the variable d) the matrix containing all of the rows, but only the second and third columns of d2 Now, the first column of c contains the length of the road segment analyzed, the second column contains the year the measurements were taken, and the third column contains the AADT (essentially the average number of cars per day that pass through that section of road). The first column of d contains where that section of road started, and the second column contains where that section of road ended. Task 3) Print a statement along the lines of "The busiest road in Yates County is the 6.32 mile road that goes from Busch Campus to College Ave." Of course, use the max function to find this information and then the fprintf function to display the info. If there is a tie for the busiest road, you must print out this statement for each of the roads. Round the length of the road to 1 decimal place. Task 4) Repeat Task 3, but for the least busy road. These are my commands so far. [c2 d2] = xlsread('civil1.xls') task 1 c = [c2(:,1) c2(:,4) c2(:,5)] task 2 d=[d2(:,2) d2(:,3)] for task 3 so far... x=max(c(:,3)) y=find(c(:,3)==x) So I basically found out that in x the maximum value is 12373 or something and I found out where these maximum values are, with y, and it is in the 12th and 19th spot. I heard that have to use for loops for this part. What would I do? | ||
|
micronesia
United States24775 Posts
A for loop is used in all types of computer programming, more or less. The goal is for it to repeat a section of code over and over again a set number of times. The syntax for c++ is for (int i=0; i<10; i++) { <do stuff> } In this case, it creates a variable i with a value of 0. It increments it by +1, and then does the stuff. Then it increments it by +1 again, and sees if i is still less than 10. If so, it does the stuff again and repeats. In this example, the stuff would be done 9 times I believe. edit: not to be confused with a while loop: while (x<10) { <do stuff> } In this case, the while loop will keep going until that stuff you do changes the value of x to 10 or greater. Also a do loops is exactly like a for loop except instead of incrementing the variable at the beginning, it increments it after 'doing the stuff'. You can ignore this one if it is confusing. | ||
|
funkie
Venezuela9376 Posts
;P. If anybody wants, msg me~ | ||
|
AoN.DimSum
United States2983 Posts
| ||
|
clazziquai
6685 Posts
On September 28 2008 05:25 AoN.DimSum wrote: i would really suggest reading the book, but if u need lecture notes, i still have them yo bro can you give me the lecture notes when yoou guys learned for loops? would be amazingly useful. ![]() i don't understand why this is due tomorrow when we havent even covered this LOL | ||
| ||
StarCraft 2 StarCraft: Brood War Dota 2 League of Legends Heroes of the Storm Other Games gofns11759 summit1g9010 tarik_tv8690 Grubby5530 FrodaN4019 Liquid`RaSZi2484 shahzam382 KnowMe341 QueenE64 kaitlyn44 Organizations Other Games StarCraft 2 StarCraft: Brood War
StarCraft 2 • Hupsaiya StarCraft: Brood War• musti20045 • LaughNgamezSOOP • sooper7s • AfreecaTV YouTube • Migwel • intothetv • Kozan • IndyKCrew Dota 2 Other Games |
|
OSC
Universe Titan Cup
Rogue vs Percival
Wardi Open
Monday Night Weeklies
Replay Cast
Kung Fu Cup
GSL
herO vs Classic
Cure vs Clem
uThermal 2v2 Circuit
Replay Cast
GSL
Maru vs SHIN
Zoun vs Rogue
[ Show More ] WardiTV Spring Champion…
SKillous vs Strange
Lambo vs Strange
Ryung vs Strange
Lambo vs Ryung
Ryung vs SKillous
Lambo vs SKillous
Replay Cast
Maestros of the Game
Replay Cast
RSL Revival
TBD vs SHIN
TBD vs Rogue
IPSL
ZZZero vs WorsT
Julia vs eOnzErG
Replay Cast
RSL Revival
IPSL
Dragon vs Artosis
dxtr13 vs Hawk
BSL
|
|
|