Community Profile

photo

Ranjan Sonalkar


Last seen: 23 jours ago Active since 2014

Statistics

All
  • Thankful Level 2
  • Solver

View badges

Content Feed

View by

Question


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

4 mois 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?

6 mois 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...

12 mois 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...

environ un an 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. ...

environ un an 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 ...

plus d'un an 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 ...

environ 3 ans 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.

plus de 3 ans 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...

plus de 3 ans 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 ...

plus de 3 ans 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...

plus de 3 ans 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...

presque 4 ans 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...

presque 4 ans 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...

environ 4 ans 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 ...

environ 4 ans 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...

presque 5 ans 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...

presque 5 ans 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 ...

environ 5 ans ago | 1 answer | 0

1

answer

Solved


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

plus de 5 ans 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:...

plus de 5 ans 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...

plus de 5 ans 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...

plus de 6 ans 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...

plus de 6 ans 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...

presque 7 ans ago | 1 answer | 0

1

answer

Question


How do I find if a x,y point is within a given polygon?
Is there a function, probably in the mapping community, that I could use to find out if a location specified by (Latitude, longi...

presque 7 ans ago | 1 answer | 0

1

answer

Question


How can I extract only the diagonal elements of a matrix product without computing the whole product matrix?
I have nxk matrix (A) and a kxk (B) matrix where n>>k. I want the diagonal terms of A*B*A' in a n-vector. It would be wasteful ...

plus de 7 ans ago | 1 answer | 1

1

answer

Question


How can I use glmfit to reduce the number of independent variables in a Logistic Regression model?
I am using GLMFIT to perform Logistic Regression on data. I would like to use it to eliminate the independent variables that ar...

plus de 7 ans ago | 0 answers | 0

0

answers

Question


How can I perform matrix operation efficiently?
I have an array X(n,m) where m<<n and n can be very large. First, I want to create a 3-d array of dimension (m,m,n) such that ea...

plus de 7 ans ago | 2 answers | 0

2

answers