Ashish Gudla

MathWorks

Active since 2014

Followers: 0   Following: 0

Message

I work in the Engineering Development Group at The Mathworks.

I am a budding photographer and a very good cook.
Professional Interests: MATLAB

Statistics

  • Knowledgeable Level 2
  • First Answer

View badges

Feeds

View by

Answered
Local cluster fails to validate at the SPMD Job Test step in Cluster Profile Manager
You can try the troubleshooting steps mentioned here: <http://www.mathworks.com/matlabcentral/answers/92124-why-am-i-unable-t...

9 years ago | 1

Answered
2-D Contour plot for non-uniformly spaced data points
If I understand you correctly, you are trying to plot the raw data, instead of creating a regular mesh using 'meshgrid'. You ...

9 years ago | 1

Answered
retrieve values and export to workspace from a radiobutton in a buttongroup
You are using the correct function get(eventdata.NewValue,'Tag') to read the tag of the button clicked. However when you want to...

9 years ago | 0

Answered
GPU CUDA problems: CUDA_ERROR_UNKNOWN
It is possible that the CUDA driver might be causing the error message. Do you have the latest drivers installed? If not, instal...

9 years ago | 1

Answered
Cannot plot and this error occurs when I load MatLab. Any idea what the issue is and how to fix it?
The errors might be due to missing java libraries for MATLAB to run(or a corrupted installation). Reinstalling MATLAB would reso...

9 years ago | 0

Answered
Is it possible to create textbox with fixed width on a plot?
You can use the annotation textbox with the 'FitBoxToText' property set to 'off'. This will wrap the text to fit the width of th...

9 years ago | 1

Answered
Variable reconnaissance problem with function polar
I understand that you are trying to use POLAR function and running into error. As the error message states, the dimensions of 'n...

9 years ago | 0

Answered
inputparser: error when using a structure as a surrogate for parameter-value pairs.
It would work when you define 'c' in a structure as well. Please see the example below: function myfun(varargin) p = inp...

9 years ago | 0

| accepted

Answered
How can I get this example?
You can simply create the model by dragging and dropping the blocks from a Simulink Library. In 'Simulink Library Browser' , cli...

9 years ago | 0

Answered
Error when using deploytool Application Compiler
I understand that you get a 'Subscript indices must either be real positive integers or logicals' error message when you try and...

9 years ago | 1

| accepted

Answered
Problem compiling simple code with mcc
You could try using the old depfun (as shown below) and see if that works. setenv('MCC_USE_DEPFUN','1')

10 years ago | 0

| accepted

Answered
Plot magnitude on y-axis and time on x-axis read from an excel file
If you can import the excel file as column vectors, you can just loop through unique stage values and plot the respective Magnit...

10 years ago | 0

Answered
Most correct way to use global variables across callbacks in GUI
As you mentioned, there are multiple ways to share data among call backs as explained in this <http://www.mathworks.com/help/mat...

10 years ago | 0

Answered
Break points in no debugger in nodesktop mode
You can change this in the preferences. On MATLAB main window select the “Home” tab and click on Preferences. In the Pref...

10 years ago | 0

Answered
where you saved the file upload? using GUI
"uigetfile" function returns only the filename and path of the file. It does not upload the file. You can read more about this i...

10 years ago | 0

Answered
Alternative to bitshift(A,k,N) as in 2014a , it gives a warning and I would like to avoid using it. But cannot understand alternative suggested.
If you need to truncate and return only 2 bits after shifting you can "bitand" the result with appropriate number. for last b...

10 years ago | 0

| accepted

Answered
How to construct a binary matrix reporting 1 in case of equal rows of two arrays of different dimensions?
You could create the 'C' matrix with all zeros and then, find the positions where its supposed to be '1' and replace it. To f...

10 years ago | 0

| accepted

Answered
including a list in an input prompt
You could use "listdlg" ( <http://www.mathworks.com/help/matlab/ref/listdlg.html see doc> )

10 years ago | 0

Answered
assigning multiple values to symbolic variables from a matrix product
I dont believe there is a way to directly assign a vector to a comma separated list. If you are just working with 2 variables...

10 years ago | 0

Answered
max items in a nominal array
I dont believe there is a way to increase the number of categories. categorical.maxNumCategories This gives the maximum ...

10 years ago | 0

Answered
Output very large matrix into text files
Instead of converting the matrix into cells and adding an extra column with ‘N’ in it you can directly write the matrix to file ...

10 years ago | 1

Answered
How to colormap a 3D trajectory using a 4th array
You can use “scatter3” function to plot your trajectory and also pass the additional arguments, the size of the point and the co...

10 years ago | 1

Answered
Convert IP addresses from decimal to IPv4 and format output using vectoring
You can probably convert the IP address from decimal to IPv4 format using vectorization however its not very intuitive. I used a...

10 years ago | 0

| accepted