Question


Vectorization and a strange result
Hi, I am struggling since few hours with a vectorized operation. I have some vector quantities, and I wanted to vectorize. I p...

mer än 3 år ago | 1 answer | 0

1

answer

Question


Matlab coder java.awt.AWTEventMulticaster.hierarchyChanged(AWTEventMulticaster.java:498)
Hi, I am running the Matlab Coder to generate a mex function. When calling the testing function, that should "exercise" the mex...

mer än 3 år ago | 0 answers | 1

0

answers

Question


Axis: no labels but grid on
Hi, I have a simple 3D plot, see figure. I would like to remove the labels on the axis, but I would also like to keep the grid ...

mer än 3 år ago | 1 answer | 0

1

answer

Question


Integral2 warning: minRectSizePass
Hi, I am using the integral2, specifally the tiled integral, and I get this warning Warning: Reached the minimum rectangle siz...

mer än 3 år ago | 1 answer | 0

1

answer

Question


Generate code: source code or mex file ?
Hi, it has only been a few days since I am dealing with mex files. I am using Matlab coder. I can convert my original m files ...

mer än 3 år ago | 1 answer | 0

1

answer

Answered
How to open .mexw64 file with Matlab?
Hi, maybe I can help you, because I came across this post when looking for "how to open a mex file". Now I understood that is a...

mer än 3 år ago | 0

Question


How to use a generated MEX function?
Hi, I am new to MEX functions, and I am learning about them since ... today! So, I have a matlab function, and I generated th...

mer än 3 år ago | 1 answer | 0

1

answer

Question


Findpeaks: find the interpolation points for the width with the x axis
Hi, I am using the function "findpeaks" to find the peaks and their widths for a given signal. It works very nice, but I would...

nästan 4 år ago | 1 answer | 0

1

answer

Question


PWM signal generator and pulse rise time
Hi, I want to simulate a three-phase inverter. I have seen that Simulink offers the block called PWM generator (2-level) and th...

mer än 5 år ago | 1 answer | 0

1

answer

Question


Discretizing the PWM Motor Drive: example in the help of Matlab (Simulink) not working
Hello, I was running the example for PWM Motor Drive as provided in the Matlab help page here <https://se.mathworks.com/help/ph...

nästan 6 år ago | 0 answers | 0

0

answers

Question


Clustering of data using k-means
Hello, I have a vector with data and, when I plot them, they divide into four patterns, as you can see in the figure (the 2 of ...

nästan 6 år ago | 0 answers | 0

0

answers

Question


Connections in Simulink (no arrows but squares)?
Hi, I opened the Matlab test file power_pwm and wanted to use the induction motor block in my file. However, the induction moto...

ungefär 6 år ago | 1 answer | 0

1

answer

Question


How to delete all the scopes in Simulink?
Hi, in a Simulink model, I have used "Create and connect viewer" to see the signal in a specific point. I attach a snapshot to ...

ungefär 6 år ago | 2 answers | 0

2

answers

Question


What can I write in a MATLAB function block in Simulink?
Hi I am working with Simulink. I wrote a function in Matlab that basically does a circular shift, and I wanted to put it into S...

mer än 6 år ago | 2 answers | 0

2

answers

Question


Elements of the input after a sum block
Hi, I have a Simulink model that contains a feedback. After the feedback, I should do some discrete convolution on the input. T...

mer än 6 år ago | 1 answer | 0

1

answer

Question


How does a feedback work in Simulink at the Solver level
Hi, I would like to understand how does the solver work in Simulink when I have a feedback. Let's assume I have a really easy ...

mer än 6 år ago | 1 answer | 0

1

answer

Question


How to extract column data in Simulink?
Hi, I have been working with Simulink just for few days. I have a Discrete State Space system. My input is defined in the "Mod...

mer än 6 år ago | 1 answer | 0

1

answer

Question


Variable Integer delay block
Hi, I am not so familiar with Simulink so I hope someone can help. I have a signal that is an impulse, and I want to delay it; ...

mer än 6 år ago | 1 answer | 0

1

answer

Question


Interface between simscape components and specialized technology block
Hi, I have the example from Mathworks here <https://se.mathworks.com/help/physmod/sps/ug/build-a-simple-three-phase-model.html ...

mer än 7 år ago | 2 answers | 0

2

answers

Question


Simscape component library vs specialized technology library
Hi, what are the pro and cons of the two libraries ? In particular, which one should I choose if I want to customise the model...

mer än 7 år ago | 1 answer | 0

1

answer

Question


Matrices with Polynomial Entries functions
Hi, I was wondering if Matlab has routines in order to compute the inverse of a Matrix with Polynomial Entries. I have not fo...

ungefär 9 år ago | 2 answers | 0

2

answers

Question


Product of two real numbers gives (sometimes!) a complex number?
Hello, I am running some tests. I have a vector called "Test" with the following values: -8.886108641008270e+10 + 0.00000...

mer än 9 år ago | 1 answer | 0

1

answer

Question


Computational time evaluation over different computers
Hi, I have the following problem. I built 2 functions: one should be faster, and let's call it F1, and another one should be ...

mer än 9 år ago | 2 answers | 0

2

answers

Question


tic toc inside a timeit
Hi, I have a function "test". Inside this test function, I have a for loop that goes from 1 to N. Since I want to know the av...

mer än 9 år ago | 2 answers | 1

2

answers

Question


MatlabR2014b no more circle market type in plot
Hi, I had the following plot plot(A(i,j),'linestyle','o') that was perfectly working on Matlab R2013b. I have installe...

mer än 9 år ago | 2 answers | 0

2

answers

Question


IFFT and FFT user guide ?
Hi, I am working now both with IFFT and FFT. It is obvious that you need to know what are you doing, but I am wondering wh...

mer än 9 år ago | 1 answer | 0

1

answer

Question


IFFT usage from a frequency signal to a time domain
Hi, I know that there are a lot of questions about this function, but I have not found an answer that can fit to me. I hav...

mer än 9 år ago | 0 answers | 0

0

answers