A répondu
In ssm (state space model), how can we indicate the same unknown parameters in coefficients matrix?
Hi Jialin, I understand that you would like to impose constraints on unknown parameters in ssm. You can use the "ParamMap" me...

plus de 6 ans il y a | 1

A répondu
How can i plot the intensity of each row in an image?
Hi Amelia, I am assuming you have a 2-dimensional Image I. You can directly use the value in the image matrix to plot the int...

plus de 6 ans il y a | 0

A répondu
XML-Import and then finding an attribute and saving it in a matrix
Hi Mueller, I understand that you would like to obtain numbers from a cell string after finding certain pattern in string. Yo...

plus de 6 ans il y a | 0

A répondu
Coloring the largest component with different color than others
Hi Sultan, You can use the method below to achieve your use-case. image = zeros(size(biggest,1),size(biggest,2),3); N...

plus de 6 ans il y a | 1

A répondu
How can I draw a circle with centre lines and then rotate it?
You can use the following method to draw lines inside a circle and rotate/translate them. radius = 5; center = [10 15...

plus de 6 ans il y a | 1

| A accepté

A répondu
How to redefine waypoints for the desired path for the robot?
Hi Arun, I understand that you would like to update the waypoints of the controller during simulation. You can achieve this b...

plus de 6 ans il y a | 0

| A accepté

A répondu
National Instruments USB 6210 does't work in Simulink, Analog Input Block
Hi Uriel, In R2015b, Data Acquisition Toolbox Simulink Blocks support only Legacy Interface, that too on 32-bit MATLAB. You c...

presque 7 ans il y a | 1

| A accepté

A répondu
In the antenna tool box, how does the EHfields function calculate the fields?
Hi John, Calculation of E and H fields of an antenna depends on it's properties like geometrical shape, orientation etc. You ...

presque 7 ans il y a | 0

A répondu
Object correct labeling when it is within another object
You can use the function "inpolygon" to check if one polygon lies inside the other. <http://www.mathworks.com/help/matlab/re...

presque 7 ans il y a | 0

A répondu
ncdisp displays the netcdf file but cannot open with netcdf.open
Hi MelMo, It looks like the error is generated by the command "netcdf.getVar" function at line 9 of "tryingnetcdffiles" scrip...

presque 7 ans il y a | 1

A répondu
Read rotary encoder data from Arduino
You can use the functions like <https://www.mathworks.com/help/supportpkg/arduinoio/ref/readdigitalpin.html readDigitalPin> to ...

presque 7 ans il y a | 0

A répondu
Import Avi Files into Matlab on Mac
I think MATLAB relies on Platform APIs to read a file using VideoFileReader. If Quick Time can't open the file on your macOS, yo...

presque 7 ans il y a | 0

| A accepté

A répondu
Fitting a Step/Stair Function to data...
Hi Kylie, You can follow the approach presented in this File-exchange submission to fit curves to data with a sudden discont...

presque 7 ans il y a | 0

A répondu
Removal of RT_MODEL variables in code generation
Hi byungkeuk, Code Reusability allows you to receive model data by function arguments. To do so, it creates a real time model...

presque 7 ans il y a | 1

A répondu
How to use OpenCV in a C++ S-Function?
Hi Saul, The OpenCV Interface allows you to call OpenCV functions with mxArray. In a Simulink C-Mex S-function, real_T is bas...

presque 7 ans il y a | 1

A répondu
How can I create a geometry in matlab which I can export to FEA software for analysis?
These file exchange submissions seem like a good starting point for your use-case to export MATLAB-created geometry to a STL fil...

presque 7 ans il y a | 0

A répondu
Code Generation for Model Reference containing noninlined S-Function
Hi Chris, The function loadTMF seems to be related to template make file. Which System target file are you using in your top ...

presque 7 ans il y a | 0

| A accepté

A répondu
Listbox is ignoring command to reset ListboxTop
Hi, This seems to work for me. I created a uicontrol Listbox, but inside a figure. h = uicontrol('Parent', gcf, 'Style...

presque 7 ans il y a | 0

A répondu
Create design matrix for ANOVA
You can start with zeros and use matrix indexing to create ones. A = zeros(10); rowInd = [1 2 3 4]; colInd = [5 7 8 9];...

presque 7 ans il y a | 0

A répondu
Help with reading/writing an Android to Matlab G-Force program (Android Sensors)
Hi Anthony, This might be happening due to the fact that when using "accelog", MATLAB will give you data from all logs after ...

presque 7 ans il y a | 1

| A accepté

A répondu
How to rotate quiver head in 3d in matlab
Hi Mathias, One way to possibly do it is by rotating the quiver arrows. h = quiver3(0,0,0,0.5,0,0,'b-','MaxHeadSize'...

presque 7 ans il y a | 0

A répondu
How can I make sure that the Simulink CAN Replay block replays messages with correct timing?
Hi Dietrich, The block does use the timestamp from original file. However, when you replay to a network, the timestamps corre...

presque 7 ans il y a | 0

A répondu
Parfor slows down computation
This is because the overhead added by parfor for parallel computation setup dominates the time needed for calculations. You can ...

presque 7 ans il y a | 1

A répondu
how to bypass error of assume being undefined - Undefined function 'assume' for input arguments of type 'logical'
Hi Ross, Do you have Symbolic Math Toolbox installed? If yes, make sure it's functions are not being shadowed. You can try us...

presque 7 ans il y a | 0

A répondu
Error using loadlibrary when trying to load dll
To load a library, you will need a header file specifying the signatures of the functions used in the DLL.

presque 7 ans il y a | 0

A répondu
With variable sized signals in Simulink, how can TLC code access the "CurrentDimensions" of a variable sized signal?
Hi Keith, Have you tried using LibBlockInputSignalWidth or LibBlockInputSignalSymbolicWidth? I have not tried it myself, ...

presque 7 ans il y a | 0

A répondu
Setting up Raspberry Pi with Matlab
Hi Dane, You might need to start MATLAB using "Run as Administrator" for it to detect the SD card.

presque 7 ans il y a | 0

A répondu
What should I insert for 'MAP' in immovie(X,MAP)?
Hi Maya, The reason you are getting this error is because the function call immovie(X,map) requires X to be an indexed image....

presque 7 ans il y a | 1

| A accepté

A répondu
Empty sym solution when using symbolic solve() function
Hi Marc, The reason you are seeing an empty solution is because the set of equations you are trying to solve does not have a ...

presque 7 ans il y a | 0

A répondu
Graphics problem when zooming
Hi Clemens, Can you try switching to software OpenGL? You can do this on windows by executing the following command in MATLAB...

environ 7 ans il y a | 0

Charger plus