• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 05:43
CEST 11:43
KST 18:43
  • 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
Team TLMC #5 - Finalists & Open Tournaments0[ASL20] Ro16 Preview Pt2: Turbulence10Classic Games #3: Rogue vs Serral at BlizzCon9[ASL20] Ro16 Preview Pt1: Ascent10Maestros of the Game: Week 1/Play-in Preview12
Community News
BSL 2025 Warsaw LAN + Legends Showmatch0Weekly Cups (Sept 8-14): herO & MaxPax split cups4WardiTV TL Team Map Contest #5 Tournaments1SC4ALL $6,000 Open LAN in Philadelphia8Weekly Cups (Sept 1-7): MaxPax rebounds & Clem saga continues29
StarCraft 2
General
#1: Maru - Greatest Players of All Time Weekly Cups (Sept 8-14): herO & MaxPax split cups Team Liquid Map Contest #21 - Presented by Monster Energy SpeCial on The Tasteless Podcast Team TLMC #5 - Finalists & Open Tournaments
Tourneys
Maestros of The Game—$20k event w/ live finals in Paris Sparkling Tuna Cup - Weekly Open Tournament SC4ALL $6,000 Open LAN in Philadelphia WardiTV TL Team Map Contest #5 Tournaments RSL: Revival, a new crowdfunded tournament series
Strategy
Custom Maps
External Content
Mutation # 491 Night Drive Mutation # 490 Masters of Midnight Mutation # 489 Bannable Offense Mutation # 488 What Goes Around
Brood War
General
Soulkey on ASL S20 ASL TICKET LIVE help! :D BW General Discussion NaDa's Body A cwal.gg Extension - Easily keep track of anyone
Tourneys
[ASL20] Ro16 Group D [ASL20] Ro16 Group C [Megathread] Daily Proleagues BSL 2025 Warsaw LAN + Legends Showmatch
Strategy
Simple Questions, Simple Answers Muta micro map competition Fighting Spirit mining rates [G] Mineral Boosting
Other Games
General Games
Stormgate/Frost Giant Megathread Nintendo Switch Thread Path of Exile Borderlands 3 General RTS Discussion Thread
Dota 2
Official 'what is Dota anymore' discussion LiquidDota to reintegrate into TL.net
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
Community
General
US Politics Mega-thread Canadian Politics Mega-thread Things Aren’t Peaceful in Palestine Russo-Ukrainian War Thread UK Politics Mega-thread
Fan Clubs
The Happy Fan Club!
Media & Entertainment
Movie Discussion! [Manga] One Piece Anime Discussion Thread
Sports
2024 - 2026 Football Thread Formula 1 Discussion MLB/Baseball 2023
World Cup 2022
Tech Support
Linksys AE2500 USB WIFI keeps disconnecting Computer Build, Upgrade & Buying Resource Thread High temperatures on bridge(s)
TL Community
BarCraft in Tokyo Japan for ASL Season5 Final The Automated Ban List
Blogs
I <=> 9
KrillinFromwales
The Personality of a Spender…
TrAiDoS
A very expensive lesson on ma…
Garnet
hello world
radishsoup
Lemme tell you a thing o…
JoinTheRain
RTS Design in Hypercoven
a11
Evil Gacha Games and the…
ffswowsucks
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1580 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 States14898 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
Calgary25981 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 States24701 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 awesome32275 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 States24701 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 17m
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
Rex 2
StarCraft: Brood War
Calm 5699
Bisu 731
Hyuk 162
HiyA 96
Hyun 96
sorry 86
ToSsGirL 84
Dewaltoss 82
Pusan 77
Light 74
[ Show more ]
Soma 60
actioN 56
Mini 49
ZerO 32
BeSt 30
Nal_rA 28
soO 27
Liquid`Ret 26
Sharp 24
Rush 19
Free 16
SilentControl 10
Dota 2
singsing1508
XcaliburYe237
boxi98170
League of Legends
JimRising 381
Counter-Strike
olofmeister1583
shoxiejesuss629
allub166
Other Games
XaKoH 143
NeuroSwarm75
Trikslyr15
Organizations
Other Games
gamesdonequick599
StarCraft: Brood War
lovetv 593
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 14 non-featured ]
StarCraft 2
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• iopq 1
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
League of Legends
• Jankos1421
• Stunt679
Other Games
• WagamamaTV81
Upcoming Events
RSL Revival
17m
Maru vs Reynor
Cure vs TriGGeR
Rex2
Map Test Tournament
1h 17m
The PondCast
3h 17m
RSL Revival
1d
Zoun vs Classic
Korean StarCraft League
1d 17h
BSL Open LAN 2025 - War…
1d 22h
RSL Revival
2 days
BSL Open LAN 2025 - War…
2 days
RSL Revival
3 days
Online Event
3 days
[ Show More ]
Wardi Open
4 days
Monday Night Weeklies
4 days
Sparkling Tuna Cup
5 days
LiuLi Cup
6 days
Liquipedia Results

Completed

Proleague 2025-09-10
Chzzk MurlocKing SC1 vs SC2 Cup #2
HCC Europe

Ongoing

BSL 20 Team Wars
KCM Race Survival 2025 Season 3
BSL 21 Points
ASL Season 20
CSL 2025 AUTUMN (S18)
LASL Season 20
RSL Revival: Season 2
Maestros of the Game
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

Upcoming

2025 Chongqing Offline CUP
BSL World Championship of Poland 2025
IPSL Winter 2025-26
BSL Season 21
SC4ALL: Brood War
BSL 21 Team A
Stellar Fest
SC4ALL: StarCraft II
EC S1
ESL Impact League Season 8
SL Budapest Major 2025
BLAST Rivals Fall 2025
IEM Chengdu 2025
PGL Masters Bucharest 2025
MESA Nomadic Masters Fall
Thunderpick World Champ.
CS Asia Championships 2025
ESL Pro League S22
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.