Kiran
MathWorks
Followers: 0 Following: 0
I'm Application Support Engineer at MathWorks and a Computer Science engineer by education.
DISCLAIMER: Any advice or opinions posted here are my own, and in no way reflect that of MathWorks.
Feeds
Knapsack problem using Dynamic Programming
Check following link for complete implementation of 0/1 Knapsack problem on MATLAB central. <http://in.mathworks.com/matlabce...
8 years 前 | 0
| 已接受
passing unicode strings to standalone MATLAB application
You can read Unicode string and then convert it to the required format using following command: bytes = unicode2native(unico...
8 years 前 | 0
how to convert cell into matrix
Hi Song, You can use 'cat' command to concatenate array according to your need. m = cat(1,a{1},a{2}) Above command w...
8 years 前 | 0
matlab.unittest.testcase not found on path
There could be multiple issue causing this behavior. 1. You may not had executed following command at MATLAB command prompt: ...
8 years 前 | 0
Installing matlab runtime compiler without GUI
This issue occurs if you do not have an X Server installed and you have the DISPLAY environment variable set. This variable shou...
8 years 前 | 1
Printing Simulink ODE45 Residual
As far as I know, it is currently not possible to view the residuals of a Simulink solvers. There are no workarounds to achie...
8 years 前 | 0
Matlab activation client not opening
You can contact your regional MathWorks Technical Support at support@mathworks.com Refer following link: <http://www.mathw...
8 years 前 | 0
How to create a signal using step block in simulink where the input is varying
Hi, You can easily do this by using "Signal Builder" block. You can just double click the block and adjust the signal as per you...
8 years 前 | 3
| 已接受
Solving for a variable with many solutions
MATLAB is trying to find the "Explicit" solution, meaning particular variable should be expressed in terms of other variables. I...
8 years 前 | 1
Multiple scatter3 in one figure
You need to put "drawnow()" function after each "for loop". This will update figure and process callback. Refer following doc...
8 years 前 | 0
ROS menu item missing in Simulink
The behavior is caused by a bug in the robotics toolbox causing this behavior in MATLAB R2015b. You can find further information...
8 years 前 | 0
Matlab scatter produces hexagonal symbols instead of circles
Starting from R2014b the entire graphics engine was reimplemented. While R2014b graphics makes most of the graphics better it al...
8 years 前 | 1
Is there a routine that writes 3 dimensional arrays into a fits file?
Create a FITS file with three images constructed from the channels of an RGB image. X = imread('ngc6543a.jpg'); R = X(:,...
8 years 前 | 0
How is the partial correlation computed?
As per the following documentation link: <http://www.mathworks.com/help/stats/partialcorr.html?searchHighlight=partialcorr#bt...
8 years 前 | 0
Why is my MATLAB able to open my GUI application but unable to run it as a command in my Unix Shell?
Launch MATLAB by specifying the full path to the MATLAB start script: user@host$> cd $MATLABROOT/bin where $MATLABROOT...
8 years 前 | 0
Simulink changes the block colors when running the simulation
Here is the documentation link that address this: <http://www.mathworks.com/help/simulink/ug/specifying-block-diagram-colors....
8 years 前 | 1
| 已接受
How do I get the output to be the larger value of two inputs o Simulink
Hi Akash, You can use the switch block for this purpose. Set the switch criteria according to relation between signals. C...
8 years 前 | 0
How can I comment out a subsystem from the mask initialisation pane (the subsystem is inside the masked subsystem)?
Hi Hans, The ability to comment out blocks from inside the block callback during the initialization phase is not available in...
8 years 前 | 0
Can I store a Bus object outside of the base workspace?
As far as I know, Bus Objects are created in base workspace only. There is no any direct way to create Bus objects in a model wo...
8 years 前 | 1
| 已接受
I have added a path to matlab and saved pathdef.m within my home directory, but when I restart matlab the path I had just added is gone. What do I do?
Refer following discussion on setting up path in MATLAB. <http://www.mathworks.com/matlabcentral/answers/94647-why-are-system...
8 years 前 | 0
How to add cells (m) to an already defined array (nx1) so that the new array is (n+m x 1)
As the code is nested in a loop, value of R is getting overwritten each time. Instead of it, you can append the new value of R ...
8 years 前 | 0
| 已接受
Plot points on top of patch polar plot
You can use "uistack" command to plot color coded points on top of polar plot. uistack(h,'top'); Where "h" is handle ...
8 years 前 | 0
How do I set MATLAB's default GUI font, currently it is set to be large whitespace
Archlinux is not officially supported by MATLAB. Check this link: http://www.mathworks.com/support/sysreq/current_release/ind...
8 years 前 | 0
How to adjust the y scale of a gain and phase plots to be consistent?
As per my understanding, you want to fix the y-axis range from -180 to 180 for all plots. Following code sets the axis limits...
8 years 前 | 0
what is the format of yfinal in stepinfo function?
I hope following explanation would make it clear. " _For SISO responses, t and y are vectors with the same length NS. For sys...
8 years 前 | 0
Value in m.file does not update with new value presented in simulink
Hey, This is an expected behavior. MATLAB function block is a Non-Virtual block. It executes in atomic mode. In your mo...
8 years 前 | 0
| 已接受
Rate Transition: Difference between buffer and zero-order-hold
Hi, There is a slight difference between ZOH and Buf. The ZOH ensures the maximum capacity and maximum "data integrity" durin...
8 years 前 | 0
How can I record the duration time from selecting one radio button to the other in a button group in Matlab GUI?
One of the possible solution to your query could be storing "clock" variable as a apps data, by "setappdata", and pass it in cal...
8 years 前 | 0
Write a row with mixed data to xlsx using xlswrite
Hi, As per documentation link: http://www.mathworks.com/help/matlab/ref/xlswrite.html Input matrix to "xlswrite" cannot h...
8 years 前 | 0
How can I monitor slow MATLAB 2012b on Linux
Hi, Slow startup of MATLAB is caused by several issues. It could be because of licensing issues, toolbox path cache or Anti-v...
8 years 前 | 0