function [V, A] = calc(a)if (a > 4)if (a < 0.25)V = 1/4 * pi * ((a+(a+2)) * ((a+2)-a) ^ 2);A = pi ^ 2 * ((a+2) ^ 2 - a ^ 2);
MATLAB: How to write a function that uses the function I have to plot A and V versus a for 0.25 <= a <= 4 inches.
MATLAB
Related Question
- How to plot a matrix in polar coordinates with color
- Plot using array for different plot lines
- Hİ every body the question iis that when ı try to run the code it says that (Inner matrix dimensions must be agree) for frho = a * rho .^ 6 + b * rho .^ 3 + c * rho .^ 2 + d * rho + e * rho .^ 3 * (1 + f * rho .^ 2) * exp(-f * rho .^ 2) – g;
- How I should make a loop for coefvct’s roots
Best Answer