Answered
how to add title/caption to FormalTable ?
Hi Srushti, Please refer this answer which captures the same issue. Regards.

6 months ago | 0

| accepted

Answered
how to include the simulation result graph image (obtained from GUI) into the Report Generator Code?
Hi, One way you could add simulation images to a report is to have the figure saved locally and use 'append' function. Hope th...

6 months ago | 0

Answered
Good day, How can I create a push button that creates a new variable every time the user presses the button in App designer?
Hi Kyle, Creating dynamic variables could lead to your code being inefficient and affect its readability. A better practice wou...

6 months ago | 1

| accepted

Answered
How can I use function to give me a variable from an excel file?
Hi Claudia, Following lines of code shows one of the ways you could solve your problem: tbl= readtable('excel.xlsx'); %variab...

6 months ago | 0

Answered
Matlab 2021b: Run Section in debugging mode not working anymore
Hi Michael, This is a known issue and our developers are aware about it. It might be fixed in future releases. There are no w...

7 months ago | 0

| accepted

Answered
Trying to do DFT and getting 'Unable to perform assignment because the left and right sides have a different number of elements' error.
The expression "2/L*sum( y.*cos(w*n*t) )" returns an array of size 1xM. Equating it to "a(n)" is bound to produce an error as "a...

7 months ago | 0

| accepted

Answered
Need Simulink help using analog input signals to fft
Hi Emmanuel, Could you please share what issues are you facing? Meanwhile you can refer this question and its comments. It ...

7 months ago | 0

Answered
how to create a graphic-table point correspondence
Hi Laura, You can use 'uitable' function to add a table into the figure and position it below the scatter plot using 'Position'...

7 months ago | 0

Answered
Splitting the first cell of my table into two
Hi Noush, You can separate the values using 'strsplit' function by giving delimiter argument as ':' in this case. It would retu...

7 months ago | 0

Answered
Show image with dialog box for user input
Hi Abhilash, Once you display the image to user, you can use 'datacursormode' function to create a data cursor manager object f...

7 months ago | 0

Answered
Matlab 2021b: Run Section now interrupts currently running section?
Hi Joseph, This is a known issue which the developers are already aware of and might be fixed in a future release. A workaroun...

7 months ago | 1

Answered
signal interpolation after getting fft for voice signal ?
Hi Haider, I understand that you have computed fft of the signal imported and wish to plot its upper peak envelope. You can use...

7 months ago | 0

Answered
Code for discrete signal plot.
Hi Syed, Inorder to plot the signal, you have to first define discrete time instances and signal values. Time vector can be def...

7 months ago | 0

Answered
Creating a pop up menu from a spreadsheet
Assuming the items lie in the spreadsheet as a single column, 'readcell' function can be used to return the items as a cell arra...

7 months ago | 0

Answered
UITableCellSelection callback for selecting cells and providing an output
Hi. One possible approach to solve the problem is given below: 'UITable' can be populated with links corresponding to the pages...

7 months ago | 0

Answered
How do I get GNa(t) and Gk(t) on the same graph? On the graph there is supposed to be currents for m, n , h
As per my understanding, the currents for 'm', 'n' and 'h' are returned by the function as s1(:,2), s1(:,3) and s1(:,4) respecti...

7 months ago | 0

Answered
How to label characteristic values of step response on the figure?
Hi, The 'stepinfo' function outputs a structure with fields as the step response characteristics. Please refer 'this' answer to...

8 months ago | 1

| accepted

Answered
generate and plo gaussian random sequence
Hi, You can use 'randn' function to generate gaussian random sequence with mean 1 and variance 0 and transform it to desired me...

8 months ago | 0

Answered
Conditional sequence generator for sinus
Hi, One way to generate the sequence is to use relational operators to assign values to variable 'x'. Following lines of code s...

8 months ago | 0

| accepted

Answered
Trouble plotting variables from cache menu and table
Hi, I understand that you have a table consisting of multiple variables and you wish to have 2 dropdowns in the app, which sele...

8 months ago | 0

Answered
Unable to split bar graph variables
Following lines of code shows one possible solution to your problem. The bar graph is created against a categorical value on the...

8 months ago | 0

Answered
How to make a summation series with a dataset
The following function shows one possible approach to solve this problem . I assume that the dataset contains 1000x1 double valu...

8 months ago | 0

| accepted

Answered
Force certain data tips to show by default on figure?
As per my understanding, you have a scatter plot and wish to have certain data tips visible in the plot by default. You could us...

8 months ago | 0

Answered
Need help in dropdownopening callback.
Assuming the x and y sliders adjust x-axis limit and y-axis limit of the plot respectively, following lines of code shows one of...

8 months ago | 0

Answered
Obtaing a Node's ID
Following piece of code shows one possible way to do the same. A button had been added to the figure. Upon selecting required no...

9 months ago | 0

Answered
Plotting Schottkly diode I-V chracteristics
Assuming correctness of parameters and equations, error exists only in final 2 lines of code. Multiplication to compute J must b...

9 months ago | 1

| accepted

Answered
Center Checkbox nested in a GridLayout in App designer
By default, adding a checkbox into grid results in the checkbox being placed towards the left of the grid cell. One of the ways ...

9 months ago | 0

Answered
Test Sequence - Sample Time period
As per my understanding, you have chosen fixed-step solver to run the test harness with a step size of 0.5 and then chosen a sam...

9 months ago | 0

| accepted

Answered
How can I use conditional operators to only obtain values from an array which satisfies the condition?
As per my understanding, final result holds values in m that are less than 5 or greater than 14. Executing '&' operation will re...

9 months ago | 0

Answered
How to find out number of source nodes and average indegree of a source node in directed graph?
As per my understanding you have a directed graph and you want to compute indegree and number of source and target nodes. The fo...

10 months ago | 0

| accepted

Load more