Will Hardiman
統計
All
Content Feed
回答済み
Unwrap does not work for vector
I just re-read the documentation for unwrap, where it clearly says: Q = unwrap(P,tol) compares the jump between elements of P t...
Unwrap does not work for vector
I just re-read the documentation for unwrap, where it clearly says: Q = unwrap(P,tol) compares the jump between elements of P t...
約2年 前 | 0
| 採用済み
質問
Unwrap does not work for vector
I have a vector, y, calculated as atan(a/b). Naturally when b is close to 0 the tan function exhibits a phase wrap: y = atan(a/...
約2年 前 | 1 件の回答 | 0
1
回答解決済み
Create an index-powered vector
Given a input vector x, return y as index-powered vector as shown below. Example x = [2 3 6 9] then y should be [...
3年弱 前
解決済み
If-then-else
Complete the function below such that if the value of x is in the range 10 to 14, inclusive, the value 18 is assigned to y. Oth...
3年弱 前
解決済み
Special matrix
Make a square matrix with this shape. For n=4 M = 1 1 0 0 1 0 1 0 0 1 0 ...
3年弱 前
解決済み
Calculate the Number of Sign Changes in a Row Vector (No Element Is Zero)
For a row vector: V=[7 1 2 -3] there is one sign change (from 2 to -3). So, the function you write must return N=1. F...
3年弱 前
解決済み
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...
3年弱 前
解決済み
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:...
3年弱 前
質問
Understanding the FFT documentation
As I understand, for a signal x, the frequency spectrum X = fft(x) is two-sided - the first half of the array is frequencies 0 t...
3年以上 前 | 1 件の回答 | 0
1
回答質問
Arguments block syntax not being recognised
I'm trying to use an arguments block for input argument validation in a standalone function. I followed the instructions here, a...
約4年 前 | 1 件の回答 | 1
1
回答質問
Regionprops returning "wrong" axis lengths
I have a segmentation pipeline which produces a binary mask fitted to the outline of a cell. When I use regionprops to measure t...
4年以上 前 | 1 件の回答 | 0