How to nest functions?
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Sergey Dukman
am 14 Jan. 2016
Kommentiert: Sergey Dukman
am 14 Jan. 2016
Hello, I have a function. Then I want to create another function and use the value of the first function to compute the second one. How can I "connect" these functions?
Regards, Sergey
2 Kommentare
Akzeptierte Antwort
Walter Roberson
am 14 Jan. 2016
Example:
d = @(N) 23.45*(sind((360/365)*(284+N)));
N = 0:20;
B = 98.8;
C = B .* d(N);
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Loops and Conditional Statements finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!