• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 03:25
CEST 09:25
KST 16:25
  • Home
  • Forum
  • Calendar
  • Streams
  • Liquipedia
  • Features
  • Store
  • EPT
  • TL+
  • StarCraft 2
  • Brood War
  • Smash
  • Heroes
  • Counter-Strike
  • Overwatch
  • Liquibet
  • Fantasy StarCraft
  • TLPD
  • StarCraft 2
  • Brood War
  • Blogs
Forum Sidebar
Events/Features
News
Featured News
[ASL19] Finals Recap: Standing Tall9HomeStory Cup 27 - Info & Preview18Classic wins Code S Season 2 (2025)16Code S RO4 & Finals Preview: herO, Rogue, Classic, GuMiho0TL Team Map Contest #5: Presented by Monster Energy6
Community News
Weekly Cups (June 30 - July 6): Classic Doubles0[BSL20] Non-Korean Championship 4x BSL + 4x China3Flash Announces Hiatus From ASL63Weekly Cups (June 23-29): Reynor in world title form?13FEL Cracov 2025 (July 27) - $8000 live event22
StarCraft 2
General
Weekly Cups (June 30 - July 6): Classic Doubles Program: SC2 / XSplit / OBS Scene Switcher The SCII GOAT: A statistical Evaluation Statistics for vetoed/disliked maps Weekly Cups (June 23-29): Reynor in world title form?
Tourneys
RSL: Revival, a new crowdfunded tournament series FEL Cracov 2025 (July 27) - $8000 live event Sparkling Tuna Cup - Weekly Open Tournament WardiTV Mondays Korean Starcraft League Week 77
Strategy
How did i lose this ZvP, whats the proper response Simple Questions Simple Answers
Custom Maps
[UMS] Zillion Zerglings
External Content
Mutation # 481 Fear and Lava Mutation # 480 Moths to the Flame Mutation # 479 Worn Out Welcome Mutation # 478 Instant Karma
Brood War
General
SC uni coach streams logging into betting site Player “Jedi” cheat on CSL Flash Announces Hiatus From ASL BW General Discussion Practice Partners (Official)
Tourneys
CSL Xiamen International Invitational [BSL20] Non-Korean Championship 4x BSL + 4x China The Casual Games of the Week Thread [BSL20] Grand Finals - Sunday 20:00 CET
Strategy
Simple Questions, Simple Answers I am doing this better than progamers do.
Other Games
General Games
Stormgate/Frost Giant Megathread Path of Exile Nintendo Switch Thread What do you want from future RTS games? Beyond All Reason
Dota 2
Official 'what is Dota anymore' discussion
League of Legends
Heroes of the Storm
Simple Questions, Simple Answers Heroes of the Storm 2.0
Hearthstone
Heroes of StarCraft mini-set
TL Mafia
TL Mafia Community Thread Vanilla Mini Mafia
Community
General
Stop Killing Games - European Citizens Initiative US Politics Mega-thread Summer Games Done Quick 2024! Summer Games Done Quick 2025! Russo-Ukrainian War Thread
Fan Clubs
SKT1 Classic Fan Club! Maru Fan Club
Media & Entertainment
Anime Discussion Thread [Manga] One Piece [\m/] Heavy Metal Thread
Sports
2024 - 2025 Football Thread Formula 1 Discussion NBA General Discussion TeamLiquid Health and Fitness Initiative For 2023 NHL Playoffs 2024
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread
TL Community
Blogs
Culture Clash in Video Games…
TrAiDoS
from making sc maps to makin…
Husyelt
Blog #2
tankgirl
StarCraft improvement
iopq
Trip to the Zoo
micronesia
Customize Sidebar...

Website Feedback

Closed Threads



Active: 669 users

MATLAB thread - Page 2

Forum Index > General Forum
Post a Reply
Prev 1 2 3 4 Next All
Day[9]
Profile Blog Joined April 2003
United States7366 Posts
September 27 2008 12:20 GMT
#21
i fucking LOVE MATLAB

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
Whenever I encounter some little hitch, or some of my orbs get out of orbit, nothing pleases me so much as to make the crooked straight and crush down uneven places. www.day9.tv
Myrmidon
Profile Blog Joined December 2004
United States9452 Posts
September 27 2008 12:46 GMT
#22
Yeah I use MATLAB for some large data manipulation, analysis, and graphing features. Then also for helping me with math-related coursework in the form of doing matrix manipulations (obviously) and then solving equations, symbolic forward and inverse transforms, etc. All in all it's been very useful.
KOFgokuon
Profile Blog Joined August 2004
United States14893 Posts
September 27 2008 13:25 GMT
#23
define expert
i've had to do some linear programming and stochastic simulations with matlab for class
Mortality
Profile Blog Joined December 2005
United States4790 Posts
September 27 2008 13:29 GMT
#24
I used to use MATLAB a lot. (These days, the stuff I work on requires pencil and paper only.)

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.
Even though this Proleague bullshit has been completely bogus, I really, really, really do not see how Khan can lose this. I swear I will kill myself if they do. - nesix before KHAN lost to eNature
Chill
Profile Blog Joined January 2005
Calgary25979 Posts
September 27 2008 15:02 GMT
#25
I fucking hate MATLAB, the syntax was not intuitive to me at all, hence I struggled with it in university and often had to use the help just to write a simple function. It's useful if you learn it properly, but I've completely forgot everything.
Moderator
SK.Testie
Profile Blog Joined January 2007
Canada11084 Posts
September 27 2008 15:21 GMT
#26
Oh man
This thread just solved such a mystery for me
If you read this, fuck you L!
loool
Social Justice is a fools errand. May all the adherents at its church be thwarted. Of all the religions I have come across, it is by far the most detestable.
Meta
Profile Blog Joined June 2003
United States6225 Posts
September 27 2008 15:38 GMT
#27
I'm going to be doing a Lab for differential equations/linear algebra today and we're going to be using MATLAB. It's been almost 4 months since I've even touched it so we'll see how it goes.
good vibes only
micronesia
Profile Blog Joined July 2006
United States24668 Posts
September 27 2008 15:51 GMT
#28
Matlab is very powerful. I had to use it for several undergraduate math classes. The professor added to the book list a small book on mathematics for _____ (insert math course name). That, along with the help files and my equivalent programming 101 experience was enough to get me through it as long as I compared notes with other students every week.

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.
ModeratorThere are animal crackers for people and there are people crackers for animals.
AoN.DimSum
Profile Blog Joined September 2008
United States2983 Posts
September 27 2008 16:16 GMT
#29
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)
by my idol krokkis : "U better hope Finland wont have WCG next year and that I wont gain shitloads of skill, cause then I will wash ur mouth with soap, little man."
clazziquai
Profile Blog Joined October 2007
6685 Posts
September 27 2008 18:21 GMT
#30
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
#1 Sea.Really Fan / #1 Nesh Fan / Terran Forever~
AoN.DimSum
Profile Blog Joined September 2008
United States2983 Posts
September 27 2008 18:32 GMT
#31
oh that sucks, i cant help you there.
by my idol krokkis : "U better hope Finland wont have WCG next year and that I wont gain shitloads of skill, cause then I will wash ur mouth with soap, little man."
clazziquai
Profile Blog Joined October 2007
6685 Posts
September 27 2008 18:42 GMT
#32
On September 28 2008 03:32 AoN.DimSum wrote:
oh that sucks, i cant help you there.


Yeah this sucks lol......=[
#1 Sea.Really Fan / #1 Nesh Fan / Terran Forever~
Chromyne
Profile Joined January 2008
Canada561 Posts
September 27 2008 19:04 GMT
#33
I took a introductory course in first year. I also used it along with Simulink for my summer job. It's really useful program for performing certain tasks, and it shouldn't be too difficult to learn.

Not sure what the actual purpose of this thread is though...
Soli Deo gloria.
Vivi57
Profile Blog Joined September 2007
United States6599 Posts
September 27 2008 19:09 GMT
#34
Never used it, but starting tuesday, I'll need to learn it for classes.
Flash hwaiting! Nal_rA forever!
IntoTheWow
Profile Blog Joined May 2004
is awesome32274 Posts
September 27 2008 19:12 GMT
#35
<- MatLab hater.
Moderator<:3-/-<
clazziquai
Profile Blog Joined October 2007
6685 Posts
September 27 2008 19:32 GMT
#36
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?
#1 Sea.Really Fan / #1 Nesh Fan / Terran Forever~
micronesia
Profile Blog Joined July 2006
United States24668 Posts
Last Edited: 2008-09-27 20:07:47
September 27 2008 20:06 GMT
#37
I don't care about your assignment personally but I'll explain for loops.

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.
ModeratorThere are animal crackers for people and there are people crackers for animals.
funkie
Profile Blog Joined November 2005
Venezuela9374 Posts
September 27 2008 20:19 GMT
#38
I have this little course of Matlab (it's in spanish) it's a simple one but it's useful if you're in a hurry.

;P.

If anybody wants, msg me~
CJ Entusman #6! · Strength is the basis of athletic ability. -Rippetoe /* http://j.mp/TL-App <- TL iPhone App 2.0! */
AoN.DimSum
Profile Blog Joined September 2008
United States2983 Posts
September 27 2008 20:25 GMT
#39
i would really suggest reading the book, but if u need lecture notes, i still have them
by my idol krokkis : "U better hope Finland wont have WCG next year and that I wont gain shitloads of skill, cause then I will wash ur mouth with soap, little man."
clazziquai
Profile Blog Joined October 2007
6685 Posts
September 27 2008 20:26 GMT
#40
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
#1 Sea.Really Fan / #1 Nesh Fan / Terran Forever~
Prev 1 2 3 4 Next All
Please log in or register to reply.
Live Events Refresh
Next event in 3h 35m
[ Submit Event ]
Live Streams
Refresh
StarCraft: Brood War
Leta 218
Mong 206
Zeus 163
Mind 78
Shine 25
Sharp 21
Bale 11
yabsab 9
Barracks 0
Dota 2
XaKoH 524
Counter-Strike
shoxiejesuss98
Super Smash Bros
Mew2King154
Other Games
Stewie2K537
NeuroSwarm98
SortOf95
ProTech48
Organizations
Other Games
gamesdonequick32721
BasetradeTV7
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 14 non-featured ]
StarCraft 2
• Berry_CruncH382
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
Dota 2
• lizZardDota2225
League of Legends
• Rush1665
• HappyZerGling177
Upcoming Events
Wardi Open
3h 35m
Replay Cast
16h 35m
Sparkling Tuna Cup
1d 2h
WardiTV European League
1d 8h
MaNa vs sebesdes
Mixu vs Fjant
ByuN vs HeRoMaRinE
ShoWTimE vs goblin
Gerald vs Babymarine
Krystianer vs YoungYakov
PiGosaur Monday
1d 16h
The PondCast
2 days
WardiTV European League
2 days
Jumy vs NightPhoenix
Percival vs Nicoract
ArT vs HiGhDrA
MaxPax vs Harstem
Scarlett vs Shameless
SKillous vs uThermal
uThermal 2v2 Circuit
2 days
Replay Cast
2 days
RSL Revival
3 days
ByuN vs SHIN
Clem vs Reynor
[ Show More ]
Replay Cast
3 days
RSL Revival
4 days
Classic vs Cure
FEL
4 days
RSL Revival
5 days
FEL
5 days
FEL
5 days
Sparkling Tuna Cup
6 days
RSL Revival
6 days
FEL
6 days
Liquipedia Results

Completed

BSL Season 20
HSC XXVII
Heroes 10 EU

Ongoing

JPL Season 2
BSL 2v2 Season 3
Acropolis #3
KCM Race Survival 2025 Season 2
CSL 17: 2025 SUMMER
Copa Latinoamericana 4
Jiahua Invitational
Championship of Russia 2025
RSL Revival: Season 1
Murky Cup #2
BLAST.tv Austin Major 2025
ESL Impact League Season 7
IEM Dallas 2025
PGL Astana 2025
Asian Champions League '25
BLAST Rivals Spring 2025
MESA Nomadic Masters
CCT Season 2 Global Finals
IEM Melbourne 2025

Upcoming

2025 ACS Season 2: Qualifier
CSLPRO Last Chance 2025
CSL Xiamen Invitational
2025 ACS Season 2
CSLPRO Chat StarLAN 3
K-Championship
uThermal 2v2 Main Event
SEL Season 2 Championship
FEL Cracov 2025
Esports World Cup 2025
StarSeries Fall 2025
FISSURE Playground #2
BLAST Open Fall 2025
BLAST Open Fall Qual
Esports World Cup 2025
BLAST Bounty Fall 2025
BLAST Bounty Fall Qual
IEM Cologne 2025
FISSURE Playground #1
TLPD

1. ByuN
2. TY
3. Dark
4. Solar
5. Stats
6. Nerchio
7. sOs
8. soO
9. INnoVation
10. Elazer
1. Rain
2. Flash
3. EffOrt
4. Last
5. Bisu
6. Soulkey
7. Mini
8. Sharp
Sidebar Settings...

Advertising | Privacy Policy | Terms Of Use | Contact Us

Original banner artwork: Jim Warren
The contents of this webpage are copyright © 2025 TLnet. All Rights Reserved.