(adsbygoogle = window.adsbygoogle || []).push({}); Matlab quad help - urgent!

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!!!!

**Physics Forums - The Fusion of Science and Community**

# Matlab quad help - !

Know someone interested in this topic? Share a link to this question via email,
Google+,
Twitter, or
Facebook

Have something to add?

- Similar discussions for: Matlab quad help - !

Loading...

**Physics Forums - The Fusion of Science and Community**