Goood Day,
I have a cubic root equation. I use Newton-raphson for finding the roots. I want to do parameter estimation (tuning of the equation parameters to be able to give better prediction) using experiment data. Can anyone help me on how to do this?
Thanks for your anticipated help...
Thanks Kreil,
I have succeeded in using datenum. See the code below
wt=xlsread('DataTest','sheet1');
datecol = 1; wt(:,datecol) = wt(:,datecol) + datenum('30-Dec-1899'); x=wt(:,1); qo=wt(:,2); plot(x,qo);
How do I use datetick to get the x (date axis) in day-month-year ('dd-mmm-yyyy') format...
Hi everybody,
I need assistance. I have excel file that conntains a date column and another column. I wish to plot the date on x-axis and the second column on y axis. I wrote the MATLAB code below.
This is my code. data=xlsread('DataTest','Sheet1'); q=data(:,2); time=data(:,1);
Error...
Thanks Pythagorean.
Subplot will not work as I want all the plots to overlay on the same plot. Please advise on how to create each axes and manually place its position on the figure.
Thanks
adeeyo
Good Day Everybody,
Please assist me on these problems
1. I wish to put six plots on the same plot using matlab. The details of each plot are stated below
PLOT 1
x axis range 0:1
y axis range 0:1
PLOT 2
x axis range 0:1
y axis range 0:1
PLOT 3
x axis range 0:1
y axis range...
Good Day Everybody,
Please assist me on these problems
1. I wish to put six plots on the same plot using matlab. The details of each plot are stated below
PLOT 1
x axis range 0:1
y axis range 0:1
PLOT 2
x axis range 0:1
y axis range 0:1
PLOT 3
x axis range 0:1
y axis range...
Hi Simon,
I put Z and V inside k loop, but is giving me 80 by 4 by 4 matrix for Z instead of 5 by 4 by 4 matrix. Since my k=40:10:80; and T(k)=273.15+k;
Any advice?
Thanks
Dear All,
Please help me on this little problem.
I have the code below.
for k=40:10:80
T(k)=273.15+k;
z=[0.2 0.2 0.2 0.4];
W_PR=0.245;
C=4;
omega=[0.344 0.467 0.578 0.789];
Tc=[600 700 500 570];
Pc=[50 70 58 76];
for c=1:C...
Hi,
Please assist,
I write this MATLAB function and receive the error below
function f=myfunn(z,x,K,L1,L2,phi)
for c=1:3
f=z(c)-(x(2,c).*K(c).*L1)-(x(1,c).*phi(2,c).*L2)./phi(1,c);
end
function f=myfunn(z,x,K,L1,L2,phi)
|
Error: Function definitions are not permitted in...
Dear All,
Please I need your assistance in solving this MATLAB problem. I will be glad to hear from you as early as possible. Thanks for your anticipated help
I have three functions
First one
function f_PR_W=Newtonphasemolefraction1(W_PR, z,C,K_PR )
f_PR=0;
for c=1:C...
Hi,
Please I need your assistance in solving this MATLAB problem. Thanks for your anticipated help
I have three functions
First one
function f_PR_W=Newtonphasemolefraction1(W_PR, z,C,K_PR )
f_PR=0;
for c=1:C
f_PR_W=f_PR+z(c).*(1-K_PR(c))./(1+W_PR.*(K_PR(c)-1));
end...