Community Profile

photo

Ranjan Sonalkar


Last seen: circa 2 mesi 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...

2 mesi 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?

5 mesi 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...

10 mesi 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...

circa un anno 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. ...

circa un anno 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 ...

oltre un anno 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 ...

circa 3 anni 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.

oltre 3 anni 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...

oltre 3 anni 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 ...

oltre 3 anni 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...

oltre 3 anni 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...

oltre 3 anni 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...

circa 4 anni 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...

circa 4 anni 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 ...

circa 4 anni 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...

oltre 4 anni 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...

oltre 4 anni 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 ...

circa 5 anni ago | 1 answer | 0

1

answer

Solved


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

circa 5 anni 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:...

circa 5 anni 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...

circa 5 anni 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...

oltre 6 anni 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...

oltre 6 anni 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...

circa 7 anni 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...

circa 7 anni 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 ...

oltre 7 anni 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...

oltre 7 anni 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...

oltre 7 anni ago | 2 answers | 0

2

answers