(3 intermediate revisions by 2 users not shown)
Line 8: Line 8:
 
I'm trying to Copy and paste Mario.m  and it isn't working for me, line 14 it says:
 
I'm trying to Copy and paste Mario.m  and it isn't working for me, line 14 it says:
  
""??? function x = Mario(d)""
+
""?? Input argument "d" is undefined.""
    |
+
 
Error: Function definitions are not permitted at the prompt or in scripts.
+
Error in ==> Mario at 14
 +
 
 +
 
 +
x = [note(1/16,E,d),note(1/8,E,d),note(1/16,E,d),note(1/16,REST,d),note(1/16,C,d),...
 +
 
  
 
  Anyone else get this??---Adam Frey
 
  Anyone else get this??---Adam Frey
 +
 +
Adam, the .m file is to be run as a function, which requires an input.  This is explained in the homework problem description. 
 +
 +
Try x = Mario(T), where T is one of the sampling periods described in the homework. [[User:Huffmalm|Huffmalm]]
 +
 +
oh, wups, thanks-- Adam F.
  
 
Back to [[Homework]]
 
Back to [[Homework]]

Latest revision as of 07:02, 21 July 2009

Problem 1

Problem 2

Problem 3

Add your Rhea contributions to the Midterm Cheat Sheet. Instead of making pages with titles like HW5.3 Landis Huffman_ECE301Summer2009, make your pages descriptive to their content while still including your name, e.g. Fourier Transform - Landis Huffman

Problem 4

Obtain the Mario.m file here

I'm trying to Copy and paste Mario.m and it isn't working for me, line 14 it says:

""?? Input argument "d" is undefined.""

Error in ==> Mario at 14


x = [note(1/16,E,d),note(1/8,E,d),note(1/16,E,d),note(1/16,REST,d),note(1/16,C,d),...


Anyone else get this??---Adam Frey

Adam, the .m file is to be run as a function, which requires an input. This is explained in the homework problem description.

Try x = Mario(T), where T is one of the sampling periods described in the homework. Huffmalm

oh, wups, thanks-- Adam F.

Back to Homework

Alumni Liaison

Correspondence Chess Grandmaster and Purdue Alumni

Prof. Dan Fleetwood