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

oltre 7 anni fa | 1

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

oltre 7 anni fa | 0

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

oltre 7 anni fa | 0

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

oltre 7 anni fa | 1

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

oltre 7 anni fa | 1

| accettato

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

oltre 7 anni fa | 0

| accettato

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

oltre 7 anni fa | 1

| accettato

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

oltre 7 anni fa | 0

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

oltre 7 anni fa | 0

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

oltre 7 anni fa | 1

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

oltre 7 anni fa | 0

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

oltre 7 anni fa | 0

| accettato

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

oltre 7 anni fa | 0

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

oltre 7 anni fa | 1

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

oltre 7 anni fa | 1

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

oltre 7 anni fa | 0

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

oltre 7 anni fa | 0

| accettato

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

oltre 7 anni fa | 0

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

oltre 7 anni fa | 0

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

oltre 7 anni fa | 1

| accettato

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

oltre 7 anni fa | 0

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

oltre 7 anni fa | 0

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

oltre 7 anni fa | 1

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

oltre 7 anni fa | 0

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

oltre 7 anni fa | 0

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

oltre 7 anni fa | 0

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

oltre 7 anni fa | 0

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

oltre 7 anni fa | 1

| accettato

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

oltre 7 anni fa | 0

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

oltre 7 anni fa | 0

Carica altro