error in writing the data in excel

1 回表示 (過去 30 日間)
sunitha
sunitha 2021 年 1 月 18 日
コメント済み: sunitha 2021 年 1 月 19 日
how to write cube roots to excel file(single cell)
  2 件のコメント
Ive J
Ive J 2021 年 1 月 18 日
doc writecell
doc writematrix
doc writetable
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 件)

カテゴリ

Help Center および File ExchangeSpreadsheets についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by