How to express this equation to convert y values to a new vector and plot as a function of x?
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
The equation is of the form: z (new vector) = y*[(e^(x/k*T)-1)/(x/h)^2]; where k = Boltzman constant, h = Planck constant, T = 300K
0 Kommentare
Antworten (1)
Askic V
am 11 Mär. 2023
Bearbeitet: Askic V
am 11 Mär. 2023
websave('test.xlsx','https://www.mathworks.com/matlabcentral/answers/uploaded_files/1321170/test.xlsx');
data = xlsread('test.xlsx')
x = data(:,1);
y = data(:,2);
% the rest should not be a problem
% z = y .*( (exp(x/k*T)-1) ./ (x/h).^2)
0 Kommentare
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!