• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 12:25
CEST 18:25
KST 01: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
RSL Season 1 - Final Week6[ASL19] Finals Recap: Standing Tall12HomeStory Cup 27 - Info & Preview18Classic wins Code S Season 2 (2025)16Code S RO4 & Finals Preview: herO, Rogue, Classic, GuMiho0
Community News
Esports World Cup 2025 - Brackets Revealed10Weekly Cups (July 7-13): Classic continues to roll4Team TLMC #5 - Submission extension3Firefly given lifetime ban by ESIC following match-fixing investigation17$25,000 Streamerzone StarCraft Pro Series announced7
StarCraft 2
General
RSL Revival patreon money discussion thread The GOAT ranking of GOAT rankings Who will win EWC 2025? Weekly Cups (July 7-13): Classic continues to roll Esports World Cup 2025 - Brackets Revealed
Tourneys
FEL Cracov 2025 (July 27) - $8000 live event RSL: Revival, a new crowdfunded tournament series $5,100+ SEL Season 2 Championship (SC: Evo) WardiTV Mondays Sparkling Tuna Cup - Weekly Open Tournament
Strategy
How did i lose this ZvP, whats the proper response Simple Questions Simple Answers
Custom Maps
External Content
Mutation # 482 Wheel of Misfortune Mutation # 481 Fear and Lava Mutation # 480 Moths to the Flame Mutation # 479 Worn Out Welcome
Brood War
General
Flash Announces (and Retracts) Hiatus From ASL BGH Auto Balance -> http://bghmmr.eu/ BW General Discussion Starcraft in widescreen A cwal.gg Extension - Easily keep track of anyone
Tourneys
[Megathread] Daily Proleagues Cosmonarchy Pro Showmatches CSL Xiamen International Invitational [BSL20] Non-Korean Championship 4x BSL + 4x China
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 CCLP - Command & Conquer League Project The PlayStation 5
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
US Politics Mega-thread Russo-Ukrainian War Thread Future of Porn Stop Killing Games - European Citizens Initiative Summer Games Done Quick 2025!
Fan Clubs
SKT1 Classic Fan Club! Maru Fan Club
Media & Entertainment
[Manga] One Piece Movie Discussion! Anime Discussion Thread [\m/] Heavy Metal Thread
Sports
Formula 1 Discussion TeamLiquid Health and Fitness Initiative For 2023 2024 - 2025 Football Thread NBA General Discussion NHL Playoffs 2024
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread
TL Community
The Automated Ban List
Blogs
Men Take Risks, Women Win Ga…
TrAiDoS
momentary artworks from des…
tankgirl
from making sc maps to makin…
Husyelt
StarCraft improvement
iopq
Trip to the Zoo
micronesia
Customize Sidebar...

Website Feedback

Closed Threads



Active: 691 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
Calgary25980 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 States24670 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 States24670 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
WardiTV European League
16:00
Swiss Groups Day 4
ShoWTimE vs sebesdes
Percival vs NightPhoenix
Shameless vs Nicoract
Krystianer vs Scarlett
ByuN vs uThermal
Harstem vs HeRoMaRinE
WardiTV419
TKL 154
IndyStarCraft 128
Liquipedia
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
mouzHeroMarine 426
SpeCial 310
TKL 154
IndyStarCraft 128
BRAT_OK 48
ForJumy 43
UpATreeSC 34
StarCraft: Brood War
Britney 32803
Rain 4157
EffOrt 1332
BeSt 1191
firebathero 645
Stork 403
Larva 216
Rush 205
Light 187
Mind 130
[ Show more ]
Trikslyr71
Aegong 71
PianO 66
sSak 46
Movie 41
GoRush 31
Shinee 30
JulyZerg 24
scan(afreeca) 19
yabsab 17
Terrorterran 9
Shine 5
SilentControl 5
Bale 4
ivOry 4
Dota 2
qojqva4012
monkeys_forever193
League of Legends
Dendi1705
Counter-Strike
sgares680
flusha210
Other Games
FrodaN3290
B2W.Neo2498
singsing2207
Beastyqt487
ceh9429
Lowko282
Fuzer 243
Pyrionflax130
ToD98
Skadoodle73
Mew2King69
QueenE62
ArmadaUGS55
elazer31
oskar21
Organizations
Other Games
gamesdonequick3521
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 13 non-featured ]
StarCraft 2
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
Dota 2
• C_a_k_e 2498
League of Legends
• Nemesis3328
• Jankos1714
Upcoming Events
PiGosaur Monday
7h 35m
uThermal 2v2 Circuit
23h 35m
Replay Cast
1d 7h
The PondCast
1d 17h
WardiTV European League
1d 23h
Replay Cast
2 days
Epic.LAN
2 days
CranKy Ducklings
3 days
Epic.LAN
3 days
CSO Contender
4 days
[ Show More ]
BSL20 Non-Korean Champi…
4 days
Bonyth vs Sziky
Dewalt vs Hawk
Hawk vs QiaoGege
Sziky vs Dewalt
Mihu vs Bonyth
Zhanhun vs QiaoGege
QiaoGege vs Fengzi
Sparkling Tuna Cup
4 days
Online Event
4 days
BSL20 Non-Korean Champi…
5 days
Bonyth vs Zhanhun
Dewalt vs Mihu
Hawk vs Sziky
Sziky vs QiaoGege
Mihu vs Hawk
Zhanhun vs Dewalt
Fengzi vs Bonyth
Esports World Cup
6 days
ByuN vs Astrea
Lambo vs HeRoMaRinE
Clem vs TBD
Solar vs Zoun
SHIN vs Reynor
Maru vs TriGGeR
herO vs Lancer
Cure vs ShoWTimE
Liquipedia Results

Completed

2025 ACS Season 2: Qualifier
RSL Revival: Season 1
Murky Cup #2

Ongoing

JPL Season 2
BSL 2v2 Season 3
Copa Latinoamericana 4
Jiahua Invitational
BSL20 Non-Korean Championship
Championship of Russia 2025
FISSURE Playground #1
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

Upcoming

CSL Xiamen Invitational
CSL Xiamen Invitational: ShowMatche
2025 ACS Season 2
CSLPRO Last Chance 2025
CSLPRO Chat StarLAN 3
BSL Season 21
K-Championship
RSL Revival: Season 2
SEL Season 2 Championship
uThermal 2v2 Main Event
FEL Cracov 2025
Esports World Cup 2025
Underdog Cup #2
ESL Pro League S22
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
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.