error in writing the data in excel

1 view (last 30 days)
sunitha
sunitha on 18 Jan 2021
Commented: sunitha on 19 Jan 2021
how to write cube roots to excel file(single cell)
  2 Comments
Ive J
Ive J on 18 Jan 2021
doc writecell
doc writematrix
doc writetable
sunitha
sunitha on 19 Jan 2021
i have used this commands before but i am not getting the result.THis is the code that i wrote. i got the result, but i am unable to send the data to the excel file.i am sending the excel file can u help me to find out this ??
clear all
close all
syms N
Qo=xlsread('suspended.xlsx','A:A')
R=xlsread('suspended.xlsx','B:B')
No=xlsread('suspended.xlsx','C:C')
X=xlsread('suspended.xlsx','D:D')
r = (No-N)./No ;
V = 2435 ;
k = 1.076 ;
Kn = 0.27 ;
nX = size(X,1 );
solutions = cell(nX,1 );
for S = 1 : nX
solutions{S} = solve(Qo(S) .* (1+R(S)) .* (No(S)-N) .* r(S) - V*((X(S)*k*N)./(Kn+N)), N );
vpa(solutions{S })
end
celldisp(solutions )
writetable(ans,'suspended.xlsx')

Sign in to comment.

Answers (0)

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!