Thomas Blackwood - MATLAB Cody - MATLAB Central

Thomas Blackwood

16666
Rank
2
Badges
300
Score
1 – 50 of 56

Thomas Blackwood submitted a Comment to Solution 962178

If anyone cares to point out why this is wrong, I'm open to hearing.

on 7 Sep 2016

Thomas Blackwood submitted a Comment to Solution 407990

You haven't stated the *Function* name, input values and output values. Without them the code from the site cannot check your code. Secondly you've declared X after you wanted to run a function with it. The program will read: Sum of X equals Y. X equals Zero or Not a Number, therefore Y is Zero or Not a Number. Next line, X is [Array]. Okay, X is [Array]. Y is still 0 or NaN. Also good practice to end your functions with a semicolon ;

on 5 Sep 2016

Thomas Blackwood submitted a Comment to Solution 407990

You haven't stated the *Function* name, input values and output values. Without them the code from the site cannot check your code. Secondly you've declared X after you wanted to run a function with it. The program will read: Sum of X equals Y. X equals Zero or Not a Number, therefore Y is Zero or Not a Number. Next line, X is [Array]. Okay, X is [Array]. Also good practice to end your functions with a semicolon ; ;)

on 5 Sep 2016

1 – 50 of 56
Go to top of page