Register to reply 
Matlab help! User defined function! 
Share this thread: 
#1
Nov712, 01:52 PM

P: 3

I made a userdefined function for Height.
function Ht=Height(t,V,Theta); Ht=V*t*sin(Theta)4.9*t.^2; end V is initial velocity, and i kept on getting input "V" is undefined. Can someone help me plz! 


#2
Nov712, 05:13 PM

P: 218

Works fine for me. What is the precise command that you're using to test the function?



Register to reply 
Related Discussions  
Matlab help! User defined function!  Engineering, Comp Sci, & Technology Homework  5  
C++ Userdefined function to calculate the smaller string?  Engineering, Comp Sci, & Technology Homework  1  
Mathematica: Nested User defined function  Math & Science Software  2  
MATLAB user defined inverse fourier transform  Engineering, Comp Sci, & Technology Homework  1  
A matlab question(about user defined functions)  Math & Science Software  0 