Register to reply 
Matlab quad help  ! 
Share this thread: 
#1
Feb2310, 09:12 PM

P: 1

I'm trying to use the quad function to evaluate the integral of the magnitude of y'(x) where
y(x)= (3cos(t), 2sin(t), t) from 0 to 2pi. Code so far: v = [3*sin(t), 2*cos(t), 1]; j=norm(v) F = @(t)norm(v) ANS1 = quad(F,0,2*pi) Error: ??? Index exceeds matrix dimensions. Error in ==> quad at 85 if ~isfinite(y(7)) Thanks so much for any help!!!! 


Register to reply 
Related Discussions  
Calculating FT using matlab quad function  General Math  1  
Matlab: Urgent  Math & Science Software  1  
Variable name matlab help  Math & Science Software  4  
MATLAB quad function  Math & Science Software  1 