error in writing the data in excel

4 次查看(过去 30 天)
sunitha
sunitha 2021-1-18
评论: sunitha 2021-1-19
how to write cube roots to excel file(single cell)
  2 个评论
sunitha
sunitha 2021-1-19
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')

请先登录,再进行评论。

回答(0 个)

标签

Community Treasure Hunt

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

Start Hunting!

Translated by