Community Profile

photo

Ayush Bansal

Last seen: 11 Monate vor Aktiv seit 2020

Followers: 0   Following: 0

Statistiken

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

Abzeichen anzeigen

Feeds

Anzeigen nach

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

mehr als 3 Jahre vor | 0

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

mehr als 3 Jahre vor | 0

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

mehr als 3 Jahre vor | 0

| akzeptiert

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

mehr als 3 Jahre vor | 0

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

mehr als 3 Jahre vor | 0

| akzeptiert

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

mehr als 3 Jahre vor | 0

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

mehr als 3 Jahre vor | 1

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

mehr als 3 Jahre vor | 0

| akzeptiert

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

mehr als 3 Jahre vor | 0

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

mehr als 3 Jahre vor | 1

| akzeptiert

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

mehr als 3 Jahre vor | 0

| akzeptiert

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

mehr als 3 Jahre vor | 1

| akzeptiert

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

mehr als 3 Jahre vor | 1

| akzeptiert

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

mehr als 3 Jahre vor | 0

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

mehr als 3 Jahre vor | 0

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

mehr als 3 Jahre vor | 0