error in writing the data in excel

2 Ansichten (letzte 30 Tage)
sunitha
sunitha am 18 Jan. 2021
Kommentiert: sunitha am 19 Jan. 2021
how to write cube roots to excel file(single cell)
  2 Kommentare
Ive J
Ive J am 18 Jan. 2021
doc writecell
doc writematrix
doc writetable
sunitha
sunitha am 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')

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by