photo

Ayush Bansal

Last seen: 1 year ago Active since 2020

Followers: 0   Following: 0

Statistics

  • 3 Month Streak
  • Revival Level 2
  • Knowledgeable Level 2
  • First Answer

View badges

Feeds

View by

Answered
Selecting ROI doesn't work
After selecting the area you need to create the mask by double-clicking, or by right-clicking inside the region and selecting C...

4 years ago | 0

Answered
Animate a blue box moving around the grid
Create an app using App designer. Use startupFcn callback to execte a function on starting of the app. Use KeyPressFcn callback ...

4 years ago | 0

Answered
Why can't I use app.UIAxes.CurrentPoint in MATLAB R2018b AppDesigner?
CurrentPoint property for uiaxes was introduced from R2019a. uiaxes was introced in R2016a.

4 years ago | 0

| accepted

Answered
How to make same ROI?
Make sure while using poly2mask(x,y,m,n), m and n are same dimension as image otherwise image size will change. Check the script...

4 years ago | 0

Answered
change in frequency domain with resampling
interp1 have different options to choose from but resample has anti-aliasing filter. Frequency vector will be different for bot...

4 years ago | 0

| accepted

Answered
How to apply Hilbert Huang transfer method on the signal Sc(t):
Create a t vector varying from 0 to 0.3s with sampling rate fs t=[0:1/fs:0.3]; [value,idx1]=min(abs(t-0.1)); which will give...

4 years ago | 0

Answered
I want to fill these 15 equal zones with the different %age value and these values to be depicted by color scale
Use fill(X,Y,C) to fill the polygon having X,Y coordinates, with colour defined by C.

4 years ago | 1

Answered
Updating GUI Popup Menu in Seperate Callback Function
getappdata is used to retrieve data stored using the setappdata function. setappdata stored data in a UI. Both these functions...

4 years ago | 0

| accepted

Answered
Fourier Analysis of a sound wave.
Use Pressure (Pa)=Volts(mv)/sensitivity(mV/Pa) to calculate pressure from voltage. Use max(A) which returns the maximum elemen...

4 years ago | 0

Answered
How to detect the calling axes from context menu using AppDesigner
Assign the object of ContextMenu to the axes property ContextMenu. Refer to Context Menu for Specific Component example.

4 years ago | 1

| accepted

Answered
Message display on basis of no error in app designer Matlab
Use Try/catch to catch the errors and uialert to display error message in the app. Use app.UIFigure (default figure of app) as a...

4 years ago | 0

| accepted

Answered
Live Script Editor, 'View Variable' option
View the variable in workspace and check the variable value at every step using step in. Use the function openvar(‘variable n...

4 years ago | 1

| accepted

Answered
selecting region of plot for calculations
WindowButtonDown callback function is triggered when mouse button is clicked. Get the current position (i.e. (x,y)) of the poin...

4 years ago | 1

| accepted

Answered
How can I draw a cylinder on a cube using pde modeler commad?
The pdeModeler App doesn’t allow user to draw a 3D model. A possible workaround is creating geometry from mesh using volume m...

4 years ago | 0

Answered
Display 3D binary matrix on a high resolution rectangular grid
For getting image from 3D Binary matrix into a rectangular grid we can use ndgrid function. For exporting the figure in high r...

4 years ago | 0

Answered
Play, Stop, Pause, Resume and Volume control in Real-Time with Audio System Toolbox
A function to control audio volume directly is not available in MATLAB . Workaround would be controlling system volume in the ...

4 years ago | 0