Quantcast
Channel: MATLAB Central Newsreader - tag:"loop"
Browsing all 45 articles
Browse latest View live

Re: Calculating values in a set of vectors

"Liang Wei Teo" <liangwei93@live.com> wrote in message <mvagv8$apc$1@newscl01ah.mathworks.com>...> Hi all,> > Suppose i get a set of 560 by 3 vectors and i have this formula...

View Article



Re: Calculating values in a set of vectors

"Manolis Michailidis" <gtrhunter@hotmail.com> wrote in message <mvap09$qu7$1@newscl01ah.mathworks.com>...> "Liang Wei Teo" <liangwei93@live.com> wrote in message...

View Article

Re: Indexing and updating a loop

"Vijay Reddy" wrote in message <mv7k1g$lic$1@newscl01ah.mathworks.com>...> I have a matrix.> a = [1 1 1 1 2 1; > 1 1 2 1 1 1;> 1 1 1 64 1 1;> 1 1 3 1 2 1;> 3 1 1 1 1 1;]>...

View Article

Re: Calculating values in a set of vectors

On 10/10/2015 3:07 AM, Liang Wei Teo wrote:> Hi all,>> Suppose i get a set of 560 by 3 vectors and i have this formula whereby> i am suppose to get two values; namely first column minus...

View Article

how can i reduce my effort using coding

I wanted to loop a matlab model (.mdl) (viz a simulation model of solar PV) for all cases of shading on a panel represented by a shading matrix (size 9 X 4) for all possible combinations for elements...

View Article


scatter

I would like to scatter plot the same columns of two different matrices. A = (9*5) matrix B = (9*5) matrix figure, hold on for i = 1:5 scatter(A(:,i),B(:,i)) end is there a way to bypass the loop?

View Article

Re: scatter

"Nicolas" <lecorvec@lpi.usra.edu> wrote in message news:n2094v$jh4$1@newscl01ah.mathworks.com...> I would like to scatter plot the same columns of two different matrices.>> A = (9*5)...

View Article

looking for efficient way to loop on matrix

hi, i'm trying to find more efficient way to loop on image matrix and change it. to be more specific, i want to find a better way to implement this loop: (im1 is an input image and x1 and x2 are...

View Article


Re: looking for efficient way to loop on matrix

"chk2" wrote in message <n2a6nf$6q7$1@newscl01ah.mathworks.com>...> hi, > > i'm trying to find more efficient way to loop on image matrix and change it.> to be more specific, i want...

View Article


Re: looking for efficient way to loop on matrix

"chk2" wrote in message <n2a6nf$6q7$1@newscl01ah.mathworks.com>...> hi, > > i'm trying to find more efficient way to loop on image matrix and change it.> to be more specific, i want...

View Article

Re: looking for efficient way to loop on matrix

"Bart" wrote in message <n2ap47$fka$1@newscl01ah.mathworks.com>...> "chk2" wrote in message <n2a6nf$6q7$1@newscl01ah.mathworks.com>...> > hi, > > > > i'm trying to find...

View Article

Re: looking for efficient way to loop on matrix

"chk2" <chagay9@gmail.com> wrote in message news:n2bs1n$h0$1@newscl01ah.mathworks.com...> "Bart" wrote in message <n2ap47$fka$1@newscl01ah.mathworks.com>...>> "chk2" wrote in...

View Article

Re: looking for efficient way to loop on matrix

"Steven Lord" <Steven_Lord@mathworks.com> wrote in message <n2cnri$t1n$1@newscl01ah.mathworks.com>...> > > "chk2" <chagay9@gmail.com> wrote in message >...

View Article


Multiple selections using the menu function

Hello everyone! I'm having trouble getting my menu to let me choose more than one item, and would like to know if I'm on the right track or doing something wrong. I have a cell array called species...

View Article

Re: Multiple selections using the menu function

"Nathan Ziants" wrote in message <n4djtf$bg8$1@newscl01ah.mathworks.com>...> Hello everyone! I'm having trouble getting my menu to let me choose more than one item, and would like to know if...

View Article


Re: subtract vector from matrix rows without for loop

"Remus " <remusac@yahoo.com> wrote in message <k9rsef$rqs$1@newscl01ah.mathworks.com>...> "Matt J" wrote in message <hesupb$i07$1@fred.mathworks.com>...> > "Patrick Diviacco"...

View Article

Monte Carlo simulation with a VAR-GARCH model

Hi, I have a problem with my code. I am estimating a bivariate VAR model with diagonal GARCH errors, with the assistance of the Econometric Modelling with Time Series book by Martin, Hurn, and Harris....

View Article


Re: Monte Carlo simulation with a VAR-GARCH model

I fixed it. No worries about that. Now my main issue is me getting this using fminunc: Warning: Matrix is close to singular or badly scaled. Results may be inaccurate. I use a two step estimation for...

View Article

Looping indexed vectors into Cell Arrays

Say perhaps i have a .txt file with 6000 numbers in it. I have the file loaded to a variable x, and i need to index the numbers. For each index, i want to index x(1:400), x(400:800), x(800:1200), and...

View Article

Re: Looping indexed vectors into Cell Arrays

"Cole Maddux" wrote in message <nil63b$2f4$1@newscl01ah.mathworks.com>...> Say perhaps i have a .txt file with 6000 numbers in it. I have the file loaded to a variable x, and i need to index...

View Article
Browsing all 45 articles
Browse latest View live




Latest Images