Community Profile

photo

Ayush Bansal

Last seen: 10 meses hace Con actividad desde 2020

Estadísticas

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

Ver insignias

Content Feed

Ver por

Respondida
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...

más de 3 años hace | 0

Respondida
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 ...

más de 3 años hace | 0

Respondida
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.

más de 3 años hace | 0

| aceptada

Respondida
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...

más de 3 años hace | 0

Respondida
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...

más de 3 años hace | 0

| aceptada

Respondida
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...

más de 3 años hace | 0

Respondida
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.

más de 3 años hace | 1

Respondida
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...

más de 3 años hace | 0

| aceptada

Respondida
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...

más de 3 años hace | 0

Respondida
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.

más de 3 años hace | 1

| aceptada

Respondida
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...

más de 3 años hace | 0

| aceptada

Respondida
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...

más de 3 años hace | 1

| aceptada

Respondida
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...

más de 3 años hace | 1

| aceptada

Respondida
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...

más de 3 años hace | 0

Respondida
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...

más de 3 años hace | 0

Respondida
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 ...

más de 3 años hace | 0