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 States14883 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
Calgary25938 Posts
| ||
SK.Testie
Canada11084 Posts
This thread just solved such a mystery for me If you read this, fuck you L! loool | ||
Meta
United States6225 Posts
| ||
micronesia
United States24341 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 awesome32244 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 States24341 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
Venezuela9373 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 | ||
| ||
Next event in 1d 4h
[ Submit Event ] |
StarCraft 2 StarCraft: Brood War Dota 2 League of Legends Counter-Strike Super Smash Bros Other Games Organizations
StarCraft 2 • Berry_CruncH157 StarCraft: Brood War• practicex 48 • aXEnki • intothetv • Gussbus • Kozan • IndyKCrew • LaughNgamez Trovo • Laughngamez YouTube • Migwel • Poblha League of Legends |
Kung Fu Cup
ESL Pro Tour
ESL Pro Tour
PassionCraft
ESL Pro Tour
World Team League
ESL Pro Tour
Korean StarCraft League
Afreeca Starleague
hero vs Soulkey
AfreecaTV Pro Series
Reynor vs Cure
[ Show More ] ESL Pro Tour
World Team League
ESL Pro Tour
BSL
Sparkling Tuna Cup
ESL Pro Tour
World Team League
ESL Pro Tour
BSL
ESL Open Cup
ESL Open Cup
ESL Open Cup
|
|