Answered
"Inputs must be scalars" error message whilst using linspace command
your last line of code should be a =linspace(min(A(:,2)), max(A(:,2)),30); you had a colon separating min(A(:,2)) and m...

8 years ago | 0

| accepted

Answered
convert vector of n or any size into a matrix
Here's one way to do this. Note that I changed your notation to use n (rather than x) for the number of columns as this seems m...

8 years ago | 0

| accepted

Answered
Time alignment of two signal with same length
I think the fundamental problem you have with your approach is not that the signals are the same length it is that they contain ...

8 years ago | 0

| accepted

Question


How to prevent user from changing directory using uiputfile
I would like to allow a user to select a name for a file to be saved using a standard dialog box for saving files, such as uiput...

12 years ago | 3 answers | 0

3

answers

Answered
Calculate vector norm in Simulink?
You can use the dot product block (with the same vector wired to both inputs) followed by a square root. Both are under the Math...

13 years ago | 9

| accepted

Answered
How to write cell array into a csv file
You could do it as follows with fprintf c = {'abc' 'def' 'ghk';[23],[24],[67];[87],[13],[999];[656],[6767],[546]}; fi...

13 years ago | 4

Question


How can I construct a dataset array from data on an excel worksheet with an unknown number of rows
I would like to construct a dataset array from data on an Excel worksheet. I know the location of the upper left corner of the ...

13 years ago | 2 answers | 0

2

answers