Question

convert string to cell

hello everyone, I have been genrating an equation using some parameters and I have been writing it as below: equation{a}=[Para...

2 months ago | 1 answer | 0

Question

How to change the filename in xlswrite using loop

Hello everyone, now I am writing the one .xlsx file with 19 sheets. For which my code is working properly. This is what I am wr...

2 months ago | 2 answers | 0

Question

Query in applying If command

Hello everyone, First i'll write the part of the code than I'll ask the doubt. O=1:25; n=randn(100,1); for j=1:10 for i=1...

5 months ago | 1 answer | 0

Question

Can we write plots in Excel

Hello everyone, I am using xlswrite to copy my results. As I have a lot of data and also I have to plot between many observed a...

5 months ago | 1 answer | 0

Question

Problem regarding reading excel file in a loop

Hello everyone, Is it possible to read multiple sheets in a for loop? For example I have a Excel file with sheets as sheet 1,...

6 months ago | 1 answer | 0

Question

Problem in plotting the string variable

Hello everyone, Rough_y=[4;5;8;3;12;14;9;11;17;17;11;14;19;25;15] Station=['a';'b';'c';'d';'e';'f';'g';'h';'i';'j';'k';'l';'m'...

6 months ago | 4 answers | 0

Question

Skipping the for loop if condition is meet

Hello everyone, for example, a = 1, 2, 3,4,5 b=7,8,3,9,6 so i write code for i=1:5 c(i)=a(i)-b(i) if (a(i)==b(i))...

6 months ago | 1 answer | 0

Question

problem with reading data from excel

Hello everyone, let say I have an excel file say. x1/x2 1 2 3 4 5 1 4 12 ...

6 months ago | 1 answer | 0

Question

Re-read the variable name

Hello Everyone, I have alloted 5 variable names to 5 different 15x1 matrix, for example. ec=data(:,1); fe=data(:,2); and so o...

6 months ago | 1 answer | 0

Question

How to detect a column which gives me maximum value of the result.

Hello everyone, for example I have to calculate z using the equation z=y-x here y is 15x1 matrix and x is also 15x1 matrix. I...

6 months ago | 1 answer | 0

Question

.Selecting the data series for next loop

Hello Everyone, I have 1 main series lets say it as y and 5 sub series lets say it as x1. Now I am calculating z1 using the eq...

7 months ago | 1 answer | 0

Question

how to increase a column with every for loop

Hello Everyone, let say for example I have two variables y with 25 data and x1 with 25 data. so for 1st iteration I will calcul...

7 months ago | 2 answers | 0

Question

problem in using if command

hello everyone, i have 25 observed values. Now i am generating new 25 values with a formula. Now what I want is that the genera...

7 months ago | 0 answers | 0

Question

problem in using if command

Hello everyone, I have already calculated 25 values of X. Now I am calculating next 10 values of X and I want to run a loop fo...

7 months ago | 0 answers | 0

Question

Skipping 1st two calculations of a loop

hi everyone, i need to write a code like for i=1:n for j=1:k C(i,j)= a(i)+b(j)+c(j) end end but here i ha...

8 months ago | 1 answer | 0

Question

creating a new column with three columns

hello everyone, i have three columns with 25 rows each. Now I want to merge all the three columns to one in a way that the firs...

8 months ago | 3 answers | 0