![]() ![]() Remember to save your m-files in the current directory. So, you will need to save the above code in a file called The name must start with a letter and cannot contain spaces. The name of that file must be the same as the function defined Function ktemp = fahr_to_kelvin ( ftemp ) %FAHR_TO_KELVIN Convert Fahrenheit to Kelvin ktemp = (( ftemp - 32 ) * ( 5 / 9 )) + 273.15 endĪ MATLAB function must be saved in a text file with a.
0 Comments
Leave a Reply. |