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

for loop 'eval' differing results

Hi, I've shortened the following code by putting it into a for loop, but I end up getting a different final result when I do this!. Can you explain? ORIGINAL CODE: [KE1, FE1]=beam2e(ex1,ey1, Cprop,...

View Article



Re: for loop 'eval' differing results

"Seb" wrote in message <lj6f3o$a5j$1@newscl01ah.mathworks.com>...> Hi, > I've shortened the following code by putting it into a for loop, but I end up getting a different final result when...

View Article

Solving system of equations for loop?

I'm trying to solve a problem that basically is: 3x + 2y - 6z= cost x -6y +3z= 8cost -2x +8y +5z= 4cost I started by creating a matrix A=[3 2 -6     1 -6 3      -2 8 5] I am supposed to find a t that...

View Article

Re: Solving system of equations for loop? or linsolve?

"savannah Roemer" wrote in message <mrj62d$hvb$1@newscl01ah.mathworks.com>...> I'm trying to solve a problem that basically is:> > 3x + 2y - 6z= cost> x -6y +3z= 8cost> -2x +8y...

View Article

Re: Solving system of equations for loop?

On 8/25/2015 8:51 PM, savannah Roemer wrote:> I'm trying to solve a problem that basically is:>> 3x + 2y - 6z= cost> x -6y +3z= 8cost> -2x +8y +5z= 4cost>> I started by creating a...

View Article


Re: Solving system of equations for loop?

"savannah Roemer" wrote in message <mrj62d$hvb$1@newscl01ah.mathworks.com>...> I'm trying to solve a problem that basically is:> > 3x + 2y - 6z= cost> x -6y +3z= 8cost> -2x +8y...

View Article

Re: Solving system of equations for loop?

"Torsten" wrote in message <mrjo5k$q71$1@newscl01ah.mathworks.com>...> "savannah Roemer" wrote in message <mrj62d$hvb$1@newscl01ah.mathworks.com>...> > I'm trying to solve a...

View Article

Generating multiple text file with

Hello The goal of the script below is to generate files p_test_50.txt...p_test_97.txt that contain 2 columns of data. Column one - day of month and column two - number of hours since the initial time....

View Article


prime number generator

hello, i am still a complete beginner using matlab. i have an assignment to make a prime generator without using prime or isprime but using for or while loop instead. can someone help me?

View Article


Re: prime number generator

"dm dee" wrote in message <mv48ev$n4$1@newscl01ah.mathworks.com>...> hello, i am still a complete beginner using matlab.> i have an assignment to make a prime generator without using prime...

View Article

Re: prime number generator

On 08.10.2015 01:05, dm dee wrote:> hello, i am still a complete beginner using matlab.> i have an assignment to make a prime generator without using prime or> isprime but using for or while...

View Article

Regarding for loop

a=xlsread('iris.csv',1,'A1:A150'); b=xlsread('iris.csv',1,'B1:B150'); c=xlsread('iris.csv',1,'C1:C150'); d=xlsread('iris.csv',1,'D1:D150'); e=xlsread('irisLabel.csv',1,'A1:A150'); m=1; for j=1:15...

View Article

Re: Regarding for loop

On 10/24/2015 12:26 PM, Keerthivasan Asokan wrote:> a=xlsread('iris.csv',1,'A1:A150');> b=xlsread('iris.csv',1,'B1:B150');> c=xlsread('iris.csv',1,'C1:C150');>...

View Article


Re: Regarding for loop

"dpb" wrote in message <n0gg36$vds$1@dont-email.me>...> On 10/24/2015 12:26 PM, Keerthivasan Asokan wrote:> > a=xlsread('iris.csv',1,'A1:A150');> >...

View Article

Re: Regarding for loop

On 10/24/2015 1:07 PM, Keerthivasan Asokan wrote:> "dpb" wrote in message <n0gg36$vds$1@dont-email.me>... ...>> In what way do you want the overall data split (and why; it would>>...

View Article

Browsing all 15 articles
Browse latest View live




Latest Images