David Meixell
Followers: 0 Following: 0
統計
All
Feeds
質問
Plotting zero vectors in quiver3
I'm trying to plot the curl of the function v = -y + x + 0. This comes to (0,0,2), but I get an error stating the variables must...
4年弱 前 | 1 件の回答 | 0
1
回答質問
Function not returning the desired structure
When testing my function to build a structure based on a .dat file, the output shows the desired struct 'kepler' but seems to ov...
約4年 前 | 1 件の回答 | 0
1
回答解決済み
Roll the Dice!
*Description* Return two random integers between 1 and 6, inclusive, to simulate rolling 2 dice. *Example* [x1,x2] =...
約4年 前
質問
Taylor Series Approximation for Cosine
For the following code to solve the taylor series approximation for cosine, I'm not getting the expected value for pi/2. Nor is ...
約4年 前 | 0 件の回答 | 0
0
回答質問
How can I vectorize this plot?
It would be pretty easy to use a For loop here, but the requirement is the answer be vectorized, avoiding the use of a loop. I'm...
約4年 前 | 1 件の回答 | 0
1
回答解決済み
Reverse the vector
Reverse the vector elements. Example: Input x = [1,2,3,4,5,6,7,8,9] Output y = [9,8,7,6,5,4,3,2,1]
約4年 前
解決済み
Length of the hypotenuse
Given short sides of lengths a and b, calculate the length c of the hypotenuse of the right-angled triangle. <<https://i.imgu...
約4年 前
解決済み
Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...
約4年 前
解決済み
Finding Perfect Squares
Given a vector of numbers, return true if one of the numbers is a square of one of the other numbers. Otherwise return false. E...
約4年 前
解決済み
Maximum value in a matrix
Find the maximum value in the given matrix. For example, if A = [1 2 3; 4 7 8; 0 9 1]; then the answer is 9.
約4年 前
解決済み
Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...
約4年 前
解決済み
Convert from Fahrenheit to Celsius
Given an input vector |F| containing temperature values in Fahrenheit, return an output vector |C| that contains the values in C...
4年以上 前
解決済み
Calculate Amount of Cake Frosting
Given two input variables |r| and |h|, which stand for the radius and height of a cake, calculate the surface area of the cake y...
4年以上 前
解決済み
Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...
4年以上 前