Input vector from readxls into a function and plot
Afficher commentaires plus anciens
Hi
i Have this function
function Vl=varmelackage(tempU)
tempU=xlsread('temperatur.xlsx','D3290:D3654')
h=24
l=2*10^6
tempIn=22
Vl=(h*l)/(tempIn-tempU)
end
i would now like to both be able to retun all function values corresponding to each value in the table "temperatur.xlsx", and i would also like to plot the function. How do i do this?
Réponses (1)
KSSV
le 29 Nov 2018
0 votes
Read about readtable
Catégories
En savoir plus sur Annotations dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!