Array manipulation in MATLAB

preview_player
Показать описание
This screencast is all about arrays -- what they are, how to access and modify individual elements and "slices" of an array, how to add rows and columns to a matrix, and the RESHAPE and transpose functions.
Рекомендации по теме
Комментарии
Автор

wow, what a perfect way of teaching matlab. Cutting to the essentials. Just seems so efortless. You are really smart for this. I used to hate matlab 20 minutes ago, but not anymore! Thank yoU!

dobraOsoba
Автор

outstanding. I'm about to watch every matlab video you have.

loupis
Автор

@daDfarSpanTaistheKin @9:03 it's minor omission, it's obvious that the matrix created by reshape is not made by switching the rows and columns and you can compare it to the transpose that is shown later.

These videos are really the best I've seen so far, describing things fast, easy and straightforward.

Many thanks to the author!

rufatiwe
Автор

I find your videos really helpful, thank you for posting them.

WickedChild
Автор

this was very helpful, actually life saving. thanks

sediye
Автор

just what i needed. brilliant tutorial. thank you kind sir

MrMerlin
Автор

Thanks! This helped me get my homework done! I'm well on my way to becoming a mechanical engineer!

phil
Автор

great video, very helpful. Thank you :-)

jauresart
Автор

I wanna say thank you before I end this video.

johnchristianbaguio
Автор

I am new to matlab, great work, thank you very much.

dedalosikaros
Автор

Hey Robert! First of all I just want to say that your screencasts have been extremely helpful to me. You´ve done a really good job.

I have question about matrix indices:

I have a problem where I want to ask matlab whether or not a specific index in a matrix exists or not, and if it exists I want to perform an operation for that given index. The basic idea can be described by the following "code":

IF A(i, j) "EXISTS"

perform some operation

ELSE
some thing else...
END

Is this possible to do in matlab? I know there are functions which check if a given element exists in a matrix, but I want to check if an index exists. I know matlab might have problems with this because it cant access an entry which doesn´t exist in a given matrix, therefore you get a syntax error warning.

Hemsomrojder
Автор

you have to input [] ex A=(:, 3)=[] to erase column 3 and same goes to rows but swap A=(3, :)=[]

ccccchar
Автор

i was wondering if using these simple techniques i can assemble a global stiffness matrix using various element matrices while i am working on FEM

MJs-
Автор

How can we give a cumulative relative frequency plot of some array data??

nonamexxx
Автор

there a glitch in video thats confusing me, i do appreciate the help though. definitely gonna help me ace my computer programming mid term 

chanoy
Автор

what if i want to call a set of position (i, j) for which Aij > (a particular value) ? ie you want to display the positions that their value is smaller than a particular value say 5 ( Aij>5)

ccccchar
Автор

suppose there there is a matrix of 3x3, i want to read second and third row and place it along with first row...so is there any command which can put up 2nd and 3rd row with 1st one... for eg: there would be a 9 column after reading it...

noddyrulezzz
Автор

how to create table ... 2×1=2
2×2=4 and so on ...?

nafeesakhan
Автор

can you please help me with this problem "Creating a Game with Animation for Shooting a Ball" how can I generate the ball and the board in Matlab Thanks

na
Автор

Hello, I'm using matlab this semester in college, and it's asking me to call a DoubleDown function with 2 outputs. I'm confused. I enter the variables in and it only spits out one answer. can you offer some assistance with this ?

KarausMiller