nanock
Member level 1
hi,
i will be thankful if you tell me what's the problem with this function?
"
function [t] = fun1(i)
tms=1;
is=100;
i=101:1:501;
k=0.14;
n=0.02;
t=(k*tms)/(((i/is)^n)-1)
loglog(i,t)
hold on
grid on
"
matlab says:"??? Error using ==> mpower
Matrix must be square.
Error in ==> fun1 at 7
t=(k*tms)/(((i/is)^n)-1)
"
thank you
i will be thankful if you tell me what's the problem with this function?
"
function [t] = fun1(i)
tms=1;
is=100;
i=101:1:501;
k=0.14;
n=0.02;
t=(k*tms)/(((i/is)^n)-1)
loglog(i,t)
hold on
grid on
"
matlab says:"??? Error using ==> mpower
Matrix must be square.
Error in ==> fun1 at 7
t=(k*tms)/(((i/is)^n)-1)
"
thank you