Community Profile

photo

Ranjan Sonalkar


Last seen: 6 months ago Active since 2014

Statistics

All
  • Thankful Level 3
  • Solver

View badges

Content Feed

View by

Question


What is the difference between valuechangedfcn and valuechangingfcn?
Some data entry window functions have the option to select a callback with options "valuechangedfcn" and "valuechangingfcn". I h...

2 years ago | 2 answers | 1

2

answers

Question


Plotting on separate tabs on a GUI designed with AppDesigner
I am designing a GUI with App Designer. It has multiple tabs and I would like to generate different plots on each tab. The plots...

2 years ago | 0 answers | 0

0

answers

Answered
How do I access AppDesigner variables in a function that I write and call?
So, if I call the function with "app" as an argument, as if "app" is a structure, I should be able to refer to all the variables...

2 years ago | 0

| accepted

Question


How do I access AppDesigner variables in a function that I write and call?
I am calling a function that I wrote from a GUI I designed with Appdesigner. I want to use many variables such as app.* in that...

2 years ago | 2 answers | 0

2

answers

Question


How do I plot on a tab within a tabgroup in Appdesigner?
I am designing a GUI in appdesigner. I have added a tabgroup and dragged an Axes on to one of the tabs. What is the syntax for ...

2 years ago | 1 answer | 0

1

answer

Question


File selection using uigetfile in an App in appdesigner
I want to select a file using uigetfile and then display the name in a Edit Field (text) window, What is the best way to do this...

2 years ago | 1 answer | 0

1

answer

Question


I get a Warning from scatteredInterpolant.
I get the following warning from scatteredInterpolant "Warning: Duplicate data points have been detected and removed - corresp...

2 years ago | 2 answers | 0

2

answers

Question


Difference between using single quotes ('xyz') and double quotes ("xyz") in formatspec
What is the difference between using single quotes ('xyz') and double quotes ("xyz") in formatspec?

3 years ago | 1 answer | 0

1

answer

Question


Resampling non-uniformly sampled 2D Surface
I have a 2D surface that is created from orthographic transformation of uniformly sampled surface in latitude/longitude coordina...

3 years ago | 1 answer | 1

1

answer

Question


How can I deactive ButtonDownFcn temporarily?
I am using ginput to select a point within a plotted area. The function ginput allows the button to be pressed and the x,y value...

3 years ago | 1 answer | 0

1

answer

Question


How can I constrain ginput to not respond if clicked outside the axes?
I am using ginput to pick points within a 2D scale with a range +-1 in both axes. I have some action buttons outside the scale. ...

3 years ago | 2 answers | 1

2

answers

Question


Dynamically reading cursor location
I am using ginput to select a location within a plot. Is there a function that would allow me to access the current location of ...

4 years ago | 1 answer | 0

1

answer

Question


How to make a GUI?
I have made a pretty elaborate GUI using GUIDE. I find that when I delete a GUI component (e.g. a subpanel)from the figure, the ...

5 years ago | 1 answer | 0

1

answer

Answered
What happens in response to fprintf commands when a deployed app is created using deploytool?
I don't know the difference. I use deploytool to create the deliverable APP.

6 years ago | 0

Question


3d Bar plot on map
I have a floor plan in a .jpeg or .png file, that I can read and display with the function _image_ with the _x-y_ coordinates. I...

6 years ago | 1 answer | 0

1

answer

Answered
How to speed up code for converting an array of strings to array of numbers
You have answered my question even though you had "no idea what my final goal is". Thanks for pointing out the multiple outputs ...

6 years ago | 0

Question


How to speed up code for converting an array of strings to array of numbers
I have a cell containing a large vector (over 1.5M entries ) of strings. Many entries are common, so that there are about 15k un...

6 years ago | 3 answers | 0

3

answers

Question


integration of a function of two variables in which the limits of integral on one are functions of the other
I want to integrate the function f(x,theta)={1-exp[-alpha/sin(theta)]} over x and theta. x has definite limits, but the limits o...

6 years ago | 1 answer | 0

1

answer

Question


What happens in response to fprintf commands when a deployed app is created using deploytool?
I am creating an App for others to use the matlab code, using _deploytool_. I have a couple of questions. 1. What happens if...

6 years ago | 2 answers | 0

2

answers

Question


Order of categorical variables on an axis in Scatter plot.
I have time series data for a number of categorical variables. I plot the time series data using Scatter on x-axis, and the cate...

6 years ago | 2 answers | 1

2

answers

Question


Draw growing circles on a jpeg file.
I have read in a jpeg file of a floor map. Now I want to draw a circle on it of time-dependent radius, so that it appears to be ...

6 years ago | 2 answers | 0

2

answers

Question


Where can I get terrain data for a small area?
I am looking to get sample terrain data that is no more than 1 km x 1 km with 1m resolution. Is there a way to convert any parti...

7 years ago | 1 answer | 0

1

answer

Question


How can I display the cursor location coordinates continuously when I use ginput?
I am using _ginput_ to enter a number of points to fit with spline. I would like to display the position of the cursor continuou...

7 years ago | 1 answer | 0

1

answer

Question


How to open a file browser in a MATLAB script?
When I run a MATLAB script, I would like to use a function in the script that would open a Browse window to list all files in a ...

7 years ago | 1 answer | 0

1

answer

Solved


Is my wife right?
Regardless of input, output the string 'yes'.

7 years ago

Solved


Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

7 years ago

Question


Read in all inputs on a a GUI when I press the RUN pushbutton.
I am a newbie with MATLAB GUIs. I have a GUI with multiple inputs (text boxes, radio buttons and check mark selections) and a RU...

7 years ago | 2 answers | 0

2

answers

Question


How can I perform a piecewise linear fit to data?
I have y-axis data that varies linearly in three regions over 0-1 on the x-axis. I would like to obtain a simple piecewise linea...

9 years ago | 2 answers | 0

2

answers

Question


How can I redirect a script to take user input from a file instead of the keyboard?
I have a MATLAB script that asks for multiple user inputs in a sequence and then uses them as variables within the script. The s...

9 years ago | 4 answers | 0

4

answers

Question


A figure drawn in a function disappears after exiting the function.
I call a function multiple times with a different integer argument, 'month'. I open up a new figure each time within the functio...

9 years ago | 1 answer | 0

1

answer

Load more