So I was wondering if around here also uses it!
And perhaps, are there any experts?
=)
Well discuss!
Forum Index > General Forum |
clazziquai
6685 Posts
So I was wondering if around here also uses it! And perhaps, are there any experts? =) Well discuss! | ||
indecision
Germany818 Posts
we used it in numerical mathematics last year. Don't know too much about it, though | ||
cba
Australia94 Posts
| ||
CDRdude
United States5625 Posts
| ||
clazziquai
6685 Posts
damn... so far it's not that bad. I fell asleep in one of the lectures that had to do with the project due so I need to review it. So I have no idea haha I'm on Matrices and vectors btw... | ||
jhNz
Germany2762 Posts
btw there is a really good freeware alternative program for matlab called scilab. i used that at university for excerices at home. the syntax is the same and i never found out where the difference in the amount of functionality is. so if you wanna try it just go to http://www.scilab.org/ . | ||
Bozali
Sweden155 Posts
| ||
MasterOfChaos
Germany2896 Posts
| ||
Klive5ive
United Kingdom6056 Posts
I had to learn to use it for my Electronics Degree and it is annoying to use for complex sums. On the plus side if you've done just a bit of programming you can pick it up very fast and it becomes useful later on for checking other work (as cba pointed out). There are other programs on the market that you might be interested in. If you can get hold of a copy of Mathematica *somehow* I would, it's a far superior piece of software: http://www.wolfram.com/products/mathematica/index.html | ||
uppTagg
Sweden473 Posts
On September 27 2008 17:37 CDRdude wrote: I took an engineering class that was programming in matlab. It was easy, and I got a good grade. Now I don't rember any of it at all. Same here :O | ||
Boblion
France8043 Posts
On September 27 2008 17:37 CDRdude wrote: I took an | ||
ZpuX
Sweden1230 Posts
| ||
kemoryan
Spain1506 Posts
It is for windows linux and mac and there's a very big community around it. I have some knowledge of Octave since I've used it in the first year at cs career. | ||
Ki_Do
Korea (South)981 Posts
its very simple since it doesnt require stat or end commands, you wont have a hard time using it | ||
Boblion
France8043 Posts
| ||
iloveHieu
United States1919 Posts
just practice a lot, you just have to spend hours on it is my advice. | ||
HnR)hT
United States3468 Posts
| ||
Saracen
United States5139 Posts
| ||
HnR)hT
United States3468 Posts
On September 27 2008 18:04 MasterOfChaos wrote: Computer algebra systems like mathematica and maple are really usefull too. I use them to solve Integrals and Diff-Equations. There is at least one free CAS available called Maxima. Mathematica can't do integrals reasonably. Once I tried it for an integral whose solution was basically an arctangent; it took five minutes and gave an unreadable answer in terms of special functions. | ||
KlaCkoN
Sweden1648 Posts
MATLAB is a very nice and beginner friendly program. You can do alot of fairly advanced calculations with it. Been a while since I used it however since they forced me to switch to fortran programming for my summer project. IMO the best thing about MATLAB is the huuuge help files, learn to master those and you can do more or less whatever you want | ||
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 States24340 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 States24340 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 | ||
AoN.DimSum
United States2983 Posts
| ||
clazziquai
6685 Posts
"Perhaps the most famous equation in physics is: E=mc^2" which relates energy E to mass m. The speed of light in a vacuum = c. Which is 2.9979*10^8 m/s and it asks me to create a function called energy to find the energy corresponding to a given masss in kg. your result will be in joules since 1 kg m^2/s^2 = 1 joule | ||
brjdrb
United States577 Posts
| ||
GrayArea
United States872 Posts
| ||
Raithed
China7077 Posts
On September 27 2008 17:39 clazziquai wrote: LOL damn... so far it's not that bad. I fell asleep in one of the lectures that had to do with the project due so I need to review it. So I have no idea haha I'm on Matrices and vectors btw... so this was your reason in making a thread in general as opposed to blog. you want someone to teach you how. | ||
prOxi.swAMi
Australia3091 Posts
| ||
Meta
United States6225 Posts
%%%%%%%%%%%% function energy = holycrap(mass) c = 2.9979*10^8 energy = mass*c^2 %%%%%%%%%%%% then you just type holycrap(mass) and it calculates it based on what mass you put in | ||
KlaCkoN
Sweden1648 Posts
implicit none double precision Energy, m, c c=2.9979d8 Energy=m*c^2 return end Fortran syntacs but if I remember correctly MATLAB is similar when it comes to stuff like this. Just make a text file with this and I think it should work, at least it's somewhere to start. Maybe the variable declaration is unnecessary? What this means is that when you in you program write Energy(m) this function will be called with whatever value the variable m currently has. The function will then be executed and calculate m*c^2 and give the resulting value to the variable Energy, meaning Energy(m) takes on the value of m*c^2. Looking at other posted functions it seems like matlab syntax was indeed a bit different, use the others :p THe reasoning behind them is the same though | ||
KOFgokuon
United States14883 Posts
| ||
clazziquai
6685 Posts
On October 27 2008 08:19 Raithed wrote: Show nested quote + On September 27 2008 17:39 clazziquai wrote: LOL damn... so far it's not that bad. I fell asleep in one of the lectures that had to do with the project due so I need to review it. So I have no idea haha I'm on Matrices and vectors btw... so this was your reason in making a thread in general as opposed to blog. you want someone to teach you how. you, my friend, are wrong. i may have fallen asleep, but did everything by MYSELF on the project which i got a 100 for. sorry ntnt | ||
jgad
Canada899 Posts
On October 27 2008 08:04 clazziquai wrote: Guys I have a question with functions. I have absolutely no idea how to do this one. "Perhaps the most famous equation in physics is: E=mc^2" which relates energy E to mass m. The speed of light in a vacuum = c. Which is 2.9979*10^8 m/s and it asks me to create a function called energy to find the energy corresponding to a given masss in kg. your result will be in joules since 1 kg m^2/s^2 = 1 joule function definitions in matlab are straightforward. For this you'd do something like + Show Spoiler + function [eofm] = energy(m) %define a function, "eofm" is an output, "energy" is the name of the function, and "m" is a variable taken into the function to do stuff with inside c = 299792458; % define 'c', speed of light eofm = m*c^; % do the calculation and set the output 'eofm' equal to it. lots of functions, it seems ^^ | ||
KlaCkoN
Sweden1648 Posts
On October 27 2008 08:21 prOxi.swAMi wrote: Why you'd introduce students to computing using matlab I have no idea. Pascal is the best learner's language ever. Never used pascal, but matlab is reaaaly user friendly in my opinion. You can do quite fun stuff quite quickly. Not exactly quick code though, so I don't understand what kind of guys that are using it proffesionally? | ||
jgad
Canada899 Posts
On October 27 2008 08:28 KlaCkoN wrote: Show nested quote + On October 27 2008 08:21 prOxi.swAMi wrote: Why you'd introduce students to computing using matlab I have no idea. Pascal is the best learner's language ever. Never used pascal, but matlab is reaaaly user friendly in my opinion. You can do quite fun stuff quite quickly. Not exactly quick code though, so I don't understand what kind of guys that are using it proffesionally? I work in physics research and it's the sort of thing a lot of people have around. The guys who are doing number intensive stuff like quantum chemical computations, they tend to write their own code in C++ for obvious performance reasons. Lots of other people, though, who simply have to do big analysis on large data sets, use it quite a bit. For things up to a few million data points, give or take an order of magnitude depending on what you're working on, it's quick and simple and handy. I've used it to do simple backprojection calculations on CAT scan data, to analyse materials and prototype testing data, to collate and mass-crunch big data sets. The applications are endless. | ||
KlaCkoN
Sweden1648 Posts
On October 27 2008 08:35 jgad wrote: Show nested quote + On October 27 2008 08:28 KlaCkoN wrote: On October 27 2008 08:21 prOxi.swAMi wrote: Why you'd introduce students to computing using matlab I have no idea. Pascal is the best learner's language ever. Never used pascal, but matlab is reaaaly user friendly in my opinion. You can do quite fun stuff quite quickly. Not exactly quick code though, so I don't understand what kind of guys that are using it proffesionally? I work in physics research and it's the sort of thing a lot of people have around. The guys who are doing number intensive stuff like quantum chemical computations, they tend to write their own code in C++ for obvious performance reasons. Lots of other people, though, who simply have to do big analysis on large data sets, use it quite a bit. For things up to a few million data points, give or take an order of magnitude depending on what you're working on, it's quick and simple and handy. I've used it to do simple backprojection calculations on CAT scan data, to analyse materials and prototype testing data, to collate and mass-crunch big data sets. The applications are endless. Alright thanks My experience is obviously quite limited. (To a 3 month q.chem project :p) (So a few million data points seem like an awfully small number ) Never used C++ either but it is on par with fortran and python and such then? when it comes to speed. | ||
dongfeng
731 Posts
| ||
thunk
United States6233 Posts
It's like trying to play Starcraft without knowing any of the builds. | ||
DrainX
Sweden3187 Posts
I did a project in Matlab two years ago where we modeled how pollution would spread in the air using fluid motion partial differential equations. | ||
imDerek
United States1944 Posts
| ||
clazziquai
6685 Posts
On October 27 2008 09:06 imDerek wrote: using it on my EE labs Electrical Engineering? | ||
fight_or_flight
United States3988 Posts
Where I work, we are going to be using Simulink, which is an addon to matlab, to start work on software-defined radios. A software defined-radio is, in its purest form, a D/A converter connected to an antenna. Then you can have a single device that acts as a cellphone, wifi, GPS, or any other type of radio you want. Simulink models dynamic systems, such as communications systems or control systems. It can take models, or chunks matlab embedded or C code, and you can create an entire radio out of it. It can then compile that entire model onto an FPGA or DSP chip. Matlab is THE software package used for DSP applications. | ||
fight_or_flight
United States3988 Posts
On October 27 2008 08:35 jgad wrote: Show nested quote + On October 27 2008 08:28 KlaCkoN wrote: On October 27 2008 08:21 prOxi.swAMi wrote: Why you'd introduce students to computing using matlab I have no idea. Pascal is the best learner's language ever. Never used pascal, but matlab is reaaaly user friendly in my opinion. You can do quite fun stuff quite quickly. Not exactly quick code though, so I don't understand what kind of guys that are using it proffesionally? I work in physics research and it's the sort of thing a lot of people have around. The guys who are doing number intensive stuff like quantum chemical computations, they tend to write their own code in C++ for obvious performance reasons. Lots of other people, though, who simply have to do big analysis on large data sets, use it quite a bit. For things up to a few million data points, give or take an order of magnitude depending on what you're working on, it's quick and simple and handy. I've used it to do simple backprojection calculations on CAT scan data, to analyse materials and prototype testing data, to collate and mass-crunch big data sets. The applications are endless. I know that some physics departments still use fortran for number crunching. Especially in quantum physics, where all of your numbers are complex, which is very intensive. They combine fotran with super-fast libraries, and also parallel computing libraries. | ||
geometryb
United States1249 Posts
| ||
imDerek
United States1944 Posts
On October 27 2008 09:11 clazziquai wrote: Electrical Engineering? indeed! playing around with sound files is fun | ||
jgad
Canada899 Posts
On October 27 2008 09:16 fight_or_flight wrote: Show nested quote + On October 27 2008 08:35 jgad wrote: On October 27 2008 08:28 KlaCkoN wrote: On October 27 2008 08:21 prOxi.swAMi wrote: Why you'd introduce students to computing using matlab I have no idea. Pascal is the best learner's language ever. Never used pascal, but matlab is reaaaly user friendly in my opinion. You can do quite fun stuff quite quickly. Not exactly quick code though, so I don't understand what kind of guys that are using it proffesionally? I work in physics research and it's the sort of thing a lot of people have around. The guys who are doing number intensive stuff like quantum chemical computations, they tend to write their own code in C++ for obvious performance reasons. Lots of other people, though, who simply have to do big analysis on large data sets, use it quite a bit. For things up to a few million data points, give or take an order of magnitude depending on what you're working on, it's quick and simple and handy. I've used it to do simple backprojection calculations on CAT scan data, to analyse materials and prototype testing data, to collate and mass-crunch big data sets. The applications are endless. I know that some physics departments still use fortran for number crunching. Especially in quantum physics, where all of your numbers are complex, which is very intensive. They combine fotran with super-fast libraries, and also parallel computing libraries. Depends what you're doing, I think. I'm an experimentalist, so coding is not really my expertise, but Fortran is procedural - good for working with lots of complex numbers, but sometimes you really want something object oriented. Monte-Carlo simulations, for example. | ||
bp1696
United States288 Posts
| ||
BluzMan
Russian Federation4235 Posts
Seriously, if you're into software with preprogrammed plot tools and numerical methods, try some C lib or LabView (which, although largely unconvential, is a fully-functional programming language). As for the lectures, you shouldn't have much trouble with MATLAB, just get excellent grades and forget about it like I did. EDIT: Well, as "useless pile of junk" may offend fanboys, let me put it the other way: there are jobs MATLAB does fine, but due to it being right in the middle between simple and powerful, it's like a jack-of-all-trades-master-of-nothing type of thing. The amount of tasks it does really well is abysmal. | ||
BluzMan
Russian Federation4235 Posts
On October 27 2008 21:56 jgad wrote: Show nested quote + On October 27 2008 09:16 fight_or_flight wrote: On October 27 2008 08:35 jgad wrote: On October 27 2008 08:28 KlaCkoN wrote: On October 27 2008 08:21 prOxi.swAMi wrote: Why you'd introduce students to computing using matlab I have no idea. Pascal is the best learner's language ever. Never used pascal, but matlab is reaaaly user friendly in my opinion. You can do quite fun stuff quite quickly. Not exactly quick code though, so I don't understand what kind of guys that are using it proffesionally? I work in physics research and it's the sort of thing a lot of people have around. The guys who are doing number intensive stuff like quantum chemical computations, they tend to write their own code in C++ for obvious performance reasons. Lots of other people, though, who simply have to do big analysis on large data sets, use it quite a bit. For things up to a few million data points, give or take an order of magnitude depending on what you're working on, it's quick and simple and handy. I've used it to do simple backprojection calculations on CAT scan data, to analyse materials and prototype testing data, to collate and mass-crunch big data sets. The applications are endless. I know that some physics departments still use fortran for number crunching. Especially in quantum physics, where all of your numbers are complex, which is very intensive. They combine fotran with super-fast libraries, and also parallel computing libraries. Depends what you're doing, I think. I'm an experimentalist, so coding is not really my expertise, but Fortran is procedural - good for working with lots of complex numbers, but sometimes you really want something object oriented. Monte-Carlo simulations, for example. A lot of people embed precompiled fortran code into C++ applications, this way you can have the class structure combined with fortran's immense speed. When I did my work, I used LabView as the external GUI with all the plotting tools I needed (besides, it has native multithreading and data acquisition) calling external libraries for the actual computation. | ||
jgad
Canada899 Posts
| ||
clazziquai
6685 Posts
| ||
GHOSTCLAW
United States17042 Posts
On October 28 2008 03:21 clazziquai wrote: What would you guys recommend is the best program to use for Computer Engineering?? What do you want to do in computer engineering? Messing around with circuits is usually pspice, messing around with large data sets is matlab, designing circuits is a program called either microwind or magic, and if you're just planning on being an office drone that knows computer eng, use microsoft office | ||
fight_or_flight
United States3988 Posts
On October 27 2008 23:31 BluzMan wrote: Matlab is a useless pile of junk. It's neither a calculator nor a programming language but takes the worst of both - complexity of use and feebleness in data manipulation. Seriously, if you're into software with preprogrammed plot tools and numerical methods, try some C lib or LabView (which, although largely unconvential, is a fully-functional programming language). As for the lectures, you shouldn't have much trouble with MATLAB, just get excellent grades and forget about it like I did. EDIT: Well, as "useless pile of junk" may offend fanboys, let me put it the other way: there are jobs MATLAB does fine, but due to it being right in the middle between simple and powerful, it's like a jack-of-all-trades-master-of-nothing type of thing. The amount of tasks it does really well is abysmal. Matlab is actually the de facto tool for DSP. Nothing is better than matlab in this respect. As I mentioned on the previous page, my company is going to start working on software-defined radios. We will be using Simulink, which is an addon to matlab, to do the work. With it we can write matlab embedded code (or C code) and compile it onto an FPGA or DSP chip. Then we can have an arbitrary radio (cellphone, GPS, wifi, FM radio, etc). Also, in industry, matlab is used for certain applications. You may think to yourself that raw C is more efficient, but time is money. However, I don't understand why you say Labview is somehow better than matlab as far as data manipulation goes. I've used Labview extensively, and I have to say its much easier to manipulate data in matlab. (in fact I have scilab installed on my computer to make sure all my calculations are correct before I put it in labview) Labview is a great piece of software though. Currently I'm doing radiated measurements and plotting the data in Labview. Look at what I have so far: + Show Spoiler + | ||
ParasitJonte
Sweden1768 Posts
Discuss! | ||
Spedicus
Canada16 Posts
EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE | ||
neinei
Philippines2 Posts
please ?? i am alyza , a 2nd year college Electronics and Communications Engineering student at UPHSL Phils. please help me how to solve this in matlab . i really dunno how . i find it hard to solve im trying to solve it and i still cant find and solve for the right equation for me to write the code in m-file and as well as to run it to show the figure . could anyone help me to solve this ? i need the codes in m-file and some computations of the equations in m-file please help me . thnks . your help is really appreciated =( the figures are listed below: http://i41.tinypic.com/14btdkw.jpg | ||
whartondanielle5
1 Post
| ||
| ||
ESL Pro Tour
Spring 2024 - Europe Round 4
[ Submit Event ] |
StarCraft 2 StarCraft: Brood War Britney 46096 Dota 2Calm 4581 GuemChi 778 Shuttle 566 Stork 483 ggaemo 397 Snow 384 Hyuk 373 Mini 334 Light 251 [ Show more ] Counter-Strike Other Games singsing2288 hiko835 DeMusliM703 B2W.Neo660 Hui .585 crisheroes538 Pyrionflax306 QueenE88 NuckleDu66 Kaelaris42 Crank 34 Organizations
StarCraft 2 • LUISG 4 StarCraft: Brood War• Kozan • LaughNgamez Trovo • Poblha • Migwel • aXEnki • intothetv • Gussbus • Laughngamez YouTube • IndyKCrew Dota 2 League of Legends |
Big Brain Bouts
ESL Pro Tour
Online Event
ESL Pro Tour
OSC
OSC
ESL Pro Tour
BSL
TerrOr vs Sziky
Nyoken vs Zhanhum
Sparkling Tuna Cup
ESL Pro Tour
[ Show More ] ESL Pro Tour
BSL
Bonyth vs StRyKeR
DragOn vs MiStrZZZ
ESL Pro Tour
ESL Open Cup
ESL Open Cup
ESL Open Cup
ESL Pro Tour
ESL Pro Tour
PassionCraft
ESL Pro Tour
ESL Pro Tour
|
|