Community Profile

Contact

Top 1% contributor

Hi all, I have two matrics like below: a=[9 7 NaN; 6 3 8; 15 NaN 5; NaN 4 2]; b= [10,14,NaN;10,10,13;10,NaN,1...

4 Answers

0

Asked 2 years ago

You can write more general code using following code: N=reshape(M,size(M,1)*a,size(M,2)/a);

Answered 3 years ago

You can use following command: xlsread('aaa.xls', 't1','A1:FW10') aaa= name of excel file; t1= name of sheets havi...

Dear Jan Simon, since writing of above program by keeping just one loop i.e. " t loop" is so essential for me and on the othe...

Hi all; I've written a program including two loops and I want to debug it using "keyboard " command. for n=1:1000 f...

3 Answers

Asked 3 years ago

Hi all, how can I define an integer variable at the begining of program? thank you in advance;

Hi all I've written a program and it's so time-consuming. I want to write a command for the programe that alarm me the pr...

Hi all I have a matrix 'A' including some elments equal to zero. i want to make an array 'B' with the non-zero elements of A . ...

2 Answers

1

Hi all, I have an array like a: a=[10 20 30 40]; I want to convert it to the matrix below, without using any for loo...

Hi all; I have a matrix named "a" which must be multiplied by 4 different numbers for each index of "i". I want to do this w...

Hi all I've writen a program including four loops and they all located inside a "while" loop as below: q=[0,10,20; 40,...

Hi all I've written a program having twenty outputs . these outputs are obtained from a FOR loop and I want to present th...

Hi all I have a matrix m-by-n and I want to change the place of columns with an espiciall command in matlab. How can I do th...

Hi all I want to fit a quadratic function to a data serie in MATLAB and calculate determination coefficient (R2) as well as...

Asked 4 years ago

Hi all I have a variable named “A” which is in cell format as following: A=cell(4,3); A{:,:}=ones(16,5); <16x5 doub...

1 Answers

Asked 1 year ago

Hi all, I have a vector like "a" . I want to classify "a" vector into a cell including 4 seprated vector i.e. A{1}(1:4), A{...

Hi all, I have a matrix like "a" whose some elemnts are equal to each other. I wato to transform this...

Hi all, I've written a program with some outputs like 'a', 'b', 'c' which are seprated in different sheets of MATLAB. To...

Hi all, I have a series of data including strings (e.g. stars) and numbers like below: A= [*0.29 *0.60 *0.54 *0.72 *0...

Hi all, I have a series of data including strings (e.g. stars) and numbers like below: A= [*0.29 *0.45 *0.37 *0.56 *0.49 ...

Hi all, I have two matrics e.g. "a" & "b", which contains some "NaN" elements and numbers less than 1. ...

Hi all; I've written a program including foure loops like below: clear ; clc ; tic ; %== input data ============...

Hi all I want to make a 3-by-3 matrix with the elements of strings. for example: a=[ok ok ok; no no no ;ok ok ok ]; ...

Hi all I've written a program having some outputs. I aim to see all these output in one sheet (I mean one variable editor...

Dear.Roberson Thanks for your tips on decreasing of the program runtime through the definition of variable's dimensions. ...

hi all i want to caculate the reminder of following fragment by a unique command in Matlab. for example: t=7; T=2; How...

Hi all I've written a program named "a.1" which its output is some cells. Hence this program is too long and time-consum...

Hi all I have a matrix having some values equal to one. I want to transform this matrix to an array without the one values. h...

Hi all I have two arrays of data including A , B. I want to calculate the linear regression equation of A , B as well as t...

Hi all I have three matrices which obtained from a series of caculations. these matrices are cumulative i.e. values of mat...

Load more