Question
How to avoid unwanted values in for loop
Hi everybody, I am using the following for loop code
for j = 3:1:6
A(j)=1*10.^(-j);
end
This gives me A=[0 0 0.001 ...
2 years ago | 1 answer | 0
1answer
Answered
How to extract uncertainty from experimental data using MATLAB.?
@ madhan ravi thanks for your response. I have attached the file. I have given the task to extract uncertainty from 'A' and the...
2 years ago | 0
Question
How to extract uncertainty from experimental data using MATLAB.?
Hi everyone, I have an experimental data A=54×1800. Now I need to extract the uncertainty from it. I do not know which function...
2 years ago | 2 answers | 0
2answers
Question
How to find error in experimental data using MATLAB code?
Hi everyone, I downloaded experimental raw data and then analyse with a software. I have used a standard analysis software packa...
2 years ago | 1 answer | 0
1answer
Question
How to control text and size of figure together
Hi everyone, for some purpose I need to plot a scatter plot with 6×6 cm size. I also need to insert some text inside this figure...
3 years ago | 0 answers | 0
0answers
Question
In a matrix how to replace zero by NaN.?
Hi every one, I have a matrix A=1×180. All values of matrix A are either zeros or negative numbers. I need to replace all the ze...
3 years ago | 1 answer | 0
1answer
Question
How to make small the legend box while keeping the font size constant.?
Hello everybody, for a Matlab fig I need to make the size of legend box small. I need to keep the legend font size 7 but make th...
3 years ago | 0 answers | 0
0answers
Question
How to adjust exponant with fig size?
Hi everyone, I have make a subplote, now for a Journal need I want to save it with 5 cm height and 13 cm length. Using two diffe...
3 years ago | 0 answers | 0
0answers
Question
How to plot the best fit when x-axis has only one value?
Hi everyone, my data and code is given below,
x1 = [9.384,9.384,9.384,9.384,9.384,9.384,9.384,9.384,9.384,9.384,9.384,9.384...
3 years ago | 1 answer | 0
1answer
Question
How to draw first order best fit in case of hold on figure?
Hi everybody, I have used the following code, and get the fig as shown below.
x = [9.384,39.27];
Y1 = 6.49e-12 * x.^(-4); ...
3 years ago | 1 answer | 0
1answer
Question
How to plot inverse power in matlab?.
Hi everybody, I have the following data and code such that the parameter on y-axis (Y) has inversely relation to the fifth power...
3 years ago | 1 answer | 0
1answer
Question
How to plot, when one parameter is inversely proportional to fifth power of other?
Hi everybody, I am trying to plot a scatter plot such that parameter on y-axis (F) has inversely relation to the fifth power of ...
3 years ago | 1 answer | 0
1answer
Question
How to find mean from different variables in work space
Hello, everyone I have 91 variables in workspace. The size of all variables is same e.g
Z1=133×8
Z2=133×8
Z3=133×8
........
3 years ago | 1 answer | 0
1answer
Question
How to extract data from multiple Matlab figures
Hello everyone, I have extracted data from Matlab figure saved in “.fig” format by using the following code
open F1.fi...
3 years ago | 1 answer | 0
1answer
Question
How to insert and adjust size of legend in already saved Fig
Hi everybody, I saved my Fig by using the following code
set(gcf,'PaperUnits','inches')
set(gcf,'PaperPosition',[0 0 5...
3 years ago | 0 answers | 0
0answers
Question
How to draw lines in matlab figure
Hi everyone, I plot simple figure in matlab by using plot(x,y).now I need to draw verticale dashed lines like grid lines at some...
4 years ago | 2 answers | 0
2answers
Question
How to plot 3 parameters on same axis having different values
Hi, I need to plot 4 parameters A,B,C and Y in one Fig for comparison A,B,C on x-axis and Y on y-axis.one parameter has small v...
4 years ago | 1 answer | 0
1answer
Question
How to label x and y axis in case of subplots
I have used the following loop to get subplots.
for j=1:19;
Aj=B(j,:);
subplot(5,4,j);
plot(Aj,h)
end
for all ...
4 years ago | 1 answer | 0
1answer
Question
How to use each value of a matrix in certain formula and also save its result
Hi,I have a matrix having size Y=54×20.I want to use each element (value) of “Y” into the formula
Q=(2-squrt(valueofY))./ squr...
4 years ago | 1 answer | 0
1answer
Question
how to save output of for loop
Hi, I have a matrix A=54×100. For some specific condition I perform an operation on each row of “A” with the help of for loop. n...
4 years ago | 3 answers | 0
3answers
Question
In row mean of consecutive columns up to end
Hello everyboby, I have a matrix A=1×100. Now I want to find the mean of row for each consecutive five columns up to last. that...
4 years ago | 2 answers | 0
2answers
Question
to select consecutive more than one column in matlab having difference
Hello everyboby, I have a matrix named eta=54×1800.for selecting specific rows and columns typically we used e.g result=eta(:, 8...
4 years ago | 1 answer | 0
1answer
Question
for loop in case of squre bracket in matlab
I studied a code related to my work in which there used a for loop.as given
for jcyc=3:3:57;
[ddx, cycl_ind(jcyc)]=min(...
4 years ago | 1 answer | 0
1answer
Question
Normalization means in standard deviation
in Matlab By default, the standard deviation is normalized by N-1, where N is the number of observations.in different places Nor...
4 years ago | 0 answers | 0
0answers
Question
file type in matlab workspace
I studied a program related to my work in which I have a file named vhf_power_0510, when I loaded this file, then in matlab work...
4 years ago | 1 answer | 0
1answer
Question
file type in matlab workspace
hello every one,I study a program related to my work in which I have a file named vhf_power_0510 when I load this file than in m...
4 years ago | 0 answers | 0
0answers
Question
by which command a figure of 3 parametrs can be obtain
I have 3 parameters.time,height and temperature.I want to get a 2D figure having time on x-axis height on y-axis and temperature...
4 years ago | 1 answer | 0
1answer