Community Profile

# Ced

Attivo dal 2014

#### Content Feed

Visto da

Risposto
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...

oltre 6 anni fa | 1

Risposto
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...

oltre 6 anni fa | 0

| accettato

Risposto
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...

oltre 6 anni fa | 1

| accettato

Risposto
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...

oltre 6 anni fa | 0

Risposto
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...

oltre 6 anni fa | 0

| accettato

Risposto
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....

oltre 6 anni fa | 0

Risposto
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...

oltre 6 anni fa | 0

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

oltre 6 anni fa | 0

Risposto
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 ...

oltre 6 anni fa | 0

Risposto
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 ...

oltre 6 anni fa | 0

| accettato

Risposto
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...

oltre 6 anni fa | 1

| accettato

Risposto
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...

oltre 6 anni fa | 0

| accettato

Risposto
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,...

oltre 6 anni fa | 0

| accettato

Risposto
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 ...

oltre 6 anni fa | 1

| accettato

Risposto
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...

oltre 6 anni fa | 0

Risposto
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 ...

oltre 6 anni fa | 0

Risposto
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.

oltre 6 anni fa | 1

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

oltre 6 anni fa | 5

| accettato

Risposto
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...

oltre 6 anni fa | 1

| accettato

Risposto
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...

oltre 6 anni fa | 0

| accettato

Risposto
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 ...

oltre 6 anni fa | 2

| accettato

Risposto
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...

oltre 6 anni fa | 1

| accettato

Risposto
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...

oltre 6 anni fa | 0

| accettato

Risposto
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...

oltre 6 anni fa | 0

Risposto
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 ...

oltre 6 anni fa | 0

Domanda

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

oltre 6 anni fa | 2 risposte | 0

### 2

risposte

Risposto
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 ...

oltre 6 anni fa | 0

Risposto
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...

oltre 6 anni fa | 0

| accettato

Risposto
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...

oltre 6 anni fa | 0

| accettato

Risposto
How can I make legend by colors?
Do I understand correctly that you have a lot of lines, but only want to have 4 legend entries which need to be of different col...

oltre 6 anni fa | 1

| accettato