if trueclc;clear all;close all;c = Ns;d= 8;z = f(c, d)function z = f(c,d)if ~mod(c,d) z=0else z=d-mod(c,d);endendend
MATLAB: I have an error on the following code.how to rectify the error
function
Related Question
- Parfor. Error: The variable eavg in a parfor cannot be classified.
- I create a new array yet matlab says it exeeds limitations!
- How can i modify the code to do to find the smallest triangle number whose digits add up to N
- I’m a using matlab for the first time and the code has 2 errors which I don’t know how to remove can you please take a look it is a 14 line code.
- Im not getting the following error .Matlab file is attached
Best Answer