Community Profile

# Ced

Active since 2014

#### Content Feed

View by

Meaning of angle wrapping
function does exactly what you think it does, it takes the angle with modulo 2*pi (with a special case for the boundary). You ca...

6 years ago | 1

Putting columns from an array into evenly spaced columns in excel
Hi You could always write it in a loop, e.g. using the char-int conversion. As an alternative: instead of writing a matrix...

6 years ago | 0

| accepted

find combination of labels
Hi Your procedure has two steps: 1. find all labels for a current position 2. find all possible combinations This is...

6 years ago | 1

| accepted

drawing a quiver for a list of 1D arrows
Hi What do you mean by "velocity values in 1D direction"? Your velocity has 3 components. Regardless, you can plot any of the...

6 years ago | 0

How do i transfer big symbolic equations into Simulink
What do you mean by "matlab function does not support symbols"? Maybe I misunderstood your problem, but there is a function call...

6 years ago | 0

| accepted

How to go through folder in a given folder?
Hi You can use *dir* to list all the files and folders on a particular folderpath, and then extract only the folders. e.g....

6 years ago | 0

Plotting in a 3D space from different perspectives
You can use the *view* function and e.g. pass it the viewing angles. See <http://de.mathworks.com/matlabcentral/answers/272639-h...

6 years ago | 0

how to fix this code ???
[ M_row, M_column ] = Untitled5();

6 years ago | 0

matlab code to transform linear systems to strictly diagonally dominant matrix
Without giving away the whole solution, one way would be to diagonalize your linear system. What you need to do is thus to find ...

6 years ago | 0

Do a zoom in a FFT trasform
You can specify the portion of the plot displayed using *xlim*, *ylim*, or *axis* (for both x and y). This will not change what ...

6 years ago | 0

| accepted

How can I calculate running mean over 40 samples in Simulink?
What you are describing is known as a *moving average filter*. If you want to do this in simulink (i.e. while running the si...

6 years ago | 1

| accepted

Subscript indices error when not running a loop
You are missing a * (or some other operation) after *Rg* in the second to last row (where the error occurs). It should be W...

6 years ago | 0

| accepted

how to use fit in logY ?
A line which is straight in a linear plot will always be curved in a log plot...? If you want it to be straight in a log10 plot,...

6 years ago | 0

| accepted

How to get rid of lsline in regression plot?
N = 15; x = linspace(0,5,N)'; y = 1.3*x + 0.5*randn(N,1); % 0. plot data and lsline plot(x,y,'o') lsline ...

6 years ago | 1

| accepted

Invalid syntax at <STRING>. Possibly a }, ), or ] is missing.
Hi I am confused on what you expect your function to do? That goes for pretty much all your function calls. Let's have a l...

6 years ago | 0

Algebric Loop with FIR Filter in Simulink
By feedforward, do you mean a feedthrough in your filter? Two possibilities I can think of: 1. Incorporate your feedforward ...

6 years ago | 0

how to rotate a resistor in Simulink ?
You can rotate elements with "ctrl+R" or "ctrl+shift+R" (CW vs CCW), but 45° rotations are not possible afaik.

6 years ago | 1

Finding largest values in matrix
A = randn(90); Nmax = 10; % get Nmax biggest entries [ Avec, Ind ] = sort(A(:),1,'descend'); max_values = Avec(1:...

6 years ago | 5

| accepted

Alternative function or tool instead of plot or line ?
Hi I think you misunderstood the plot function. The first argument are *all the x values*, and the second argument are *all t...

6 years ago | 1

| accepted

Making a Function file which calls another function file
I am not sure if this is want you are asking, but you can pass a function handle as input. A mini example would be function...

6 years ago | 0

| accepted

Storing data from a for loop in a matrix
Hi There is a search feature in the forum, you will find hundreds of examples for this. But your problem is that you are ...

6 years ago | 2

| accepted

How to simulate a transfer function matrix of closed loop MIMO system?
*Careful*!! *sys_orig_tf'* not only transposes your system, but takes the complex conjugate of it! This most likely complete...

6 years ago | 1

| accepted

how to plot a complex function in simulink ?
You could plot the real and imaginary part separately using the *scope* block, or then plot them in the real-imaginary plane usi...

6 years ago | 0

| accepted

how to apply windowing in matlab in real time?
Depends a bit what kind of filter you want. Butterworth or moving average filters are quite common because they are the simplest...

6 years ago | 0

How to find 6 clusters
And each cluster is a repetition of the exact same number? Can the same number appear twice? If not, you could do something ...

6 years ago | 0

Question

Efficiently combine anonymous functions?
Hi I have an algorithm which has several anonymous functions passed as parameters which are then combined depending on flags....

6 years ago | 2 answers | 0

### 2

how to create FFT diagramm from acceleration measurements? (using xlsread)
xlsread reads a file, it has nothing to do with your diagram. Since you have a csv file, why not use *csvread*? All I see ...

6 years ago | 0

is there SVM CLASSIFY on matlab 2015 or we should download it and install it on matlab?
It's all here: <http://de.mathworks.com/help/releases/R2015a/stats/svmclassify.html?searchHighlight=svmclassify SVM Classify Do...

6 years ago | 0

| accepted

How do I process big datasets ??
Hi Do you now have each day in a separate file, or everything in one file? Personally, if you want to evaluate different s...

6 years ago | 0

| accepted