• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EST 04:36
CET 10:36
KST 18:36
  • 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
TL.net Map Contest #21: Winners11Intel X Team Liquid Seoul event: Showmatches and Meet the Pros10[ASL20] Finals Preview: Arrival13TL.net Map Contest #21: Voting12[ASL20] Ro4 Preview: Descent11
Community News
[TLMC] Fall/Winter 2025 Ladder Map Rotation4Weekly Cups (Nov 3-9): Clem Conquers in Canada4SC: Evo Complete - Ranked Ladder OPEN ALPHA8StarCraft, SC2, HotS, WC3, Returning to Blizzcon!45$5,000+ WardiTV 2025 Championship7
StarCraft 2
General
[TLMC] Fall/Winter 2025 Ladder Map Rotation Mech is the composition that needs teleportation t Weekly Cups (Nov 3-9): Clem Conquers in Canada Craziest Micro Moments Of All Time? SC: Evo Complete - Ranked Ladder OPEN ALPHA
Tourneys
Constellation Cup - Main Event - Stellar Fest Tenacious Turtle Tussle Sparkling Tuna Cup - Weekly Open Tournament $5,000+ WardiTV 2025 Championship Merivale 8 Open - LAN - Stellar Fest
Strategy
Custom Maps
Map Editor closed ?
External Content
Mutation # 499 Chilling Adaptation Mutation # 498 Wheel of Misfortune|Cradle of Death Mutation # 497 Battle Haredened Mutation # 496 Endless Infection
Brood War
General
Rapidtags: The Ultimate Tool for Hashtag and Keywo Terran 1:35 12 Gas Optimization FlaSh on: Biggest Problem With SnOw's Playstyle BW General Discussion BGH Auto Balance -> http://bghmmr.eu/
Tourneys
[BSL21] RO32 Group D - Sunday 21:00 CET [BSL21] RO32 Group C - Saturday 21:00 CET [ASL20] Grand Finals [Megathread] Daily Proleagues
Strategy
Current Meta PvZ map balance How to stay on top of macro? Soma's 9 hatch build from ASL Game 2
Other Games
General Games
Nintendo Switch Thread Stormgate/Frost Giant Megathread Should offensive tower rushing be viable in RTS games? Path of Exile Dawn of War IV
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
Deck construction bug Heroes of StarCraft mini-set
TL Mafia
TL Mafia Community Thread SPIRED by.ASL Mafia {211640}
Community
General
US Politics Mega-thread Russo-Ukrainian War Thread Things Aren’t Peaceful in Palestine Canadian Politics Mega-thread The Games Industry And ATVI
Fan Clubs
White-Ra Fan Club The herO Fan Club!
Media & Entertainment
[Manga] One Piece Anime Discussion Thread Movie Discussion! Korean Music Discussion Series you have seen recently...
Sports
2024 - 2026 Football Thread Formula 1 Discussion NBA General Discussion MLB/Baseball 2023 TeamLiquid Health and Fitness Initiative For 2023
World Cup 2022
Tech Support
SC2 Client Relocalization [Change SC2 Language] Linksys AE2500 USB WIFI keeps disconnecting Computer Build, Upgrade & Buying Resource Thread
TL Community
The Automated Ban List
Blogs
Dyadica Gospel – a Pulp No…
Hildegard
Coffee x Performance in Espo…
TrAiDoS
Saturation point
Uldridge
DnB/metal remix FFO Mick Go…
ImbaTosS
Reality "theory" prov…
perfectspheres
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1225 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 States14899 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
Calgary25988 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 States24740 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 awesome32277 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 States24740 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
Venezuela9376 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 1h 54m
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
SortOf 286
StarCraft: Brood War
Britney 49000
Rain 2987
Hyuk 2893
Soma 360
Backho 327
Rush 213
Pusan 117
JulyZerg 53
sSak 31
zelot 14
[ Show more ]
NaDa 12
Noble 11
ZerO 10
Hm[arnc] 8
Terrorterran 7
Dota 2
XaKoH 419
XcaliburYe139
Counter-Strike
fl0m1798
olofmeister680
shoxiejesuss411
oskar63
Super Smash Bros
Mew2King237
Other Games
ceh9502
Happy244
Pyrionflax116
ZerO(Twitch)4
Organizations
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 14 non-featured ]
StarCraft 2
• Berry_CruncH257
• LUISG 21
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
League of Legends
• Rush1347
• Stunt515
Upcoming Events
OSC
1h 54m
Kung Fu Cup
2h 24m
Classic vs Solar
herO vs Cure
Reynor vs GuMiho
ByuN vs ShoWTimE
Tenacious Turtle Tussle
13h 24m
The PondCast
1d
RSL Revival
1d
Solar vs Zoun
MaxPax vs Bunny
Kung Fu Cup
1d 2h
WardiTV Korean Royale
1d 2h
PiGosaur Monday
1d 15h
RSL Revival
2 days
Classic vs Creator
Cure vs TriGGeR
Kung Fu Cup
2 days
[ Show More ]
CranKy Ducklings
3 days
RSL Revival
3 days
herO vs Gerald
ByuN vs SHIN
Kung Fu Cup
3 days
IPSL
3 days
ZZZero vs rasowy
Napoleon vs KameZerg
BSL 21
3 days
Tarson vs Julia
Doodle vs OldBoy
eOnzErG vs WolFix
StRyKeR vs Aeternum
Sparkling Tuna Cup
4 days
RSL Revival
4 days
Reynor vs sOs
Maru vs Ryung
Kung Fu Cup
4 days
WardiTV Korean Royale
4 days
BSL 21
4 days
JDConan vs Semih
Dragon vs Dienmax
Tech vs NewOcean
TerrOr vs Artosis
IPSL
4 days
Dewalt vs WolFix
eOnzErG vs Bonyth
Wardi Open
5 days
Monday Night Weeklies
5 days
WardiTV Korean Royale
6 days
Liquipedia Results

Completed

Proleague 2025-11-07
Stellar Fest: Constellation Cup
Eternal Conflict S1

Ongoing

C-Race Season 1
IPSL Winter 2025-26
KCM Race Survival 2025 Season 4
SOOP Univ League 2025
YSL S2
BSL Season 21
BLAST Rivals Fall 2025
IEM Chengdu 2025
PGL Masters Bucharest 2025
Thunderpick World Champ.
CS Asia Championships 2025
ESL Pro League S22
StarSeries Fall 2025
FISSURE Playground #2
BLAST Open Fall 2025
BLAST Open Fall Qual

Upcoming

SLON Tour Season 2
BSL 21 Non-Korean Championship
Acropolis #4
IPSL Spring 2026
HSC XXVIII
RSL Offline Finals
WardiTV 2025
RSL Revival: Season 3
META Madness #9
BLAST Bounty Winter 2026
BLAST Bounty Winter 2026: Closed Qualifier
eXTREMESLAND 2025
ESL Impact League Season 8
SL Budapest Major 2025
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.