![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/24732011_1636988634403_DEF.jpg)
Kai Wing YU
Followers: 0 Following: 0
Feeds
提问
How to compute the area and the distance?
I can solve for AB and AC, but I don't know how to get the area and distance by using AB and AC.
3 years 前 | 1 个回答 | 0
1
个回答提问
What's wrong in the code? I cant generate the same graph as the question required.
function y = f(x) x = -5:5; y = sin(x.^2).*exp(cos(x)); plot(x,y) end
3 years 前 | 2 个回答 | 0
2
个回答提问
Where is the mistake of the ^? i can plot the graph without the ^ but it say i have mistake after adding the ^ or .^
x_array = -5:5; y_array1 = sin(x_array.^2).*exp^(cos(x_array)); plot(x_array, y_array1)
3 years 前 | 1 个回答 | 0