Benjamin Horsley
Followers: 0 Following: 0
Feeds
提问
How can I recode certain values in one vector based on those in another?
I'd like to get some assistance with performing calculations across two different vectors and recoding certain values if a speci...
2 years 前 | 1 个回答 | 0
1
个回答提问
How can I determine the y-intercept from known x and y values?
I have a series of known x and y values (both 161x1 double) and I would like to plot a line graph and determine the slope and y-...
3 years 前 | 1 个回答 | 0
1
个回答提问
How can I structure a loop to calculate a range of residuals to determine optimal filter cut-off frequency?
I'm new to loops and I'd like some help in structuring a for loop statement so I can calculate the root mean square error for a ...
3 years 前 | 1 个回答 | 0
1
个回答提问
How can I add multiple 1 x 1 strings to all rows in a table?
Here is a mock table. % Mock table. headers = {'A' 'B' 'C' 'D' 'E'}; data = cell(4,5); T = cell2table(data); T.Properties...
3 years 前 | 1 个回答 | 0
1
个回答提问
How can I join unequal vectors by adding NaN values?
I have two column vectors of unequal length (basic example below). The first is a vector of known events (target), whereas the s...
4 years 前 | 1 个回答 | 0
1
个回答提问
Why am I receiving an error message in an array calculation?
I'm having some difficulty performing an array calculation. I would like to fill the contents of column 3 based on a specific fo...
4 years 前 | 1 个回答 | 0
1
个回答提问
How can I find the difference between adjacent elements while ignoring the first value?
I have the following column vector. data = randperm(100,15)'; Is there a way of using the "diff" function to find the differen...
4 years 前 | 1 个回答 | 0
1
个回答提问
How can I merge text to numeric data?
I have two variables: A = [1 2 3 4 5 6 7 8 9 10]'; B = ["L", "R"]'; How can I merge A and B where B is of the same height (nu...
4 years 前 | 1 个回答 | 0