Community Profile

photo

Srijith Kasaragod

Last seen: Today Active since 2021

Statistics

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

View badges

Content Feed

View by

Answered
I want to filter the x signal given using the following filters using the filter command.
Hi Deniz, Inorder to call "filter" function, you need to pass the denominator and numerator coefficents for the rational transf...

en dag ago | 0

Answered
How to represent a field inside a workspace variable in appdesigner?
Hi Sergio, I understand that you wish to extract atleast one data field from the variable and generate a series of graphs. One ...

en dag ago | 0

| accepted

Answered
When generating code with Embedded Coder, a text editor window automatically pops up to view the generated code. Is there a way to deactivate this option?
Hi Paul, The ability to prevent the Code window from appearing is not available in SIMULINK currently. There are no direct work...

2 dagar ago | 0

Answered
Menu Bar in App Designer
Hi René, This is the expected behavior of "UIMenu". Once "UIMenu" is activated by click and when the focus is moved to the adj...

2 dagar ago | 0

Answered
Wrong solution of differential equation using symbolic lambda
Hi Kevin, This is a bug and has been brought to the notice of our developers. It may be fixed in future releases. One possibili...

3 dagar ago | 0

| accepted

Answered
Use the Run & Time in a function called from an App (mlapp)
Hi Hugo, Refer this document to read on 'tic' and 'toc' functions which measure elapsed time. The required function call inside...

7 dagar ago | 0

Answered
I was asked to use an excel sheet containing names, user ID's, height, weight, and age.
Hi Hind, Once the table is imported into MATLAB workspace, any table variable can be accessed using dot syntax. For example, as...

7 dagar ago | 0

Answered
trying to make a switch case for the dropdown with options: sine,cosine,square, triangular, to plot the right wave whenever chosen, this only plots sine wave, what's wrong?
Hi Rana, I have tried to recreate the issue at my end and the code seems to run correctly, with sin, cos, square and sawtooth w...

8 dagar ago | 0

Answered
Scope data to App Designer variable
Hi Luis, This answer describes how to update an app based on data from a running SIMULINK model. Please have a look at it. Tha...

8 dagar ago | 0

Answered
Formatting column names in a table of data
Hi Batool, I assume you wish to name table variables as LATEX text and display the table in command window. MATLAB supports LAT...

9 dagar ago | 0

Answered
Why do I get "Array indices must be positive integers or logical values" in line 17
Hi Omar, When for loops begins execution, loop variable 'i' is initialized to 0. Also variable 'l' is 0. Hence array index 'i+l...

10 dagar ago | 0

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

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

11 dagar 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...

11 dagar 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...

11 dagar 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...

ungefär en månad 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...

ungefär en månad 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 ...

ungefär en månad 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'...

ungefär en månad 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...

ungefär en månad 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...

ungefär en månad 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...

ungefär en månad 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...

ungefär en månad 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...

ungefär en månad 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...

ungefär en månad 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...

ungefär en månad 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...

ungefär en månad 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...

2 månader 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...

2 månader 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...

2 månader ago | 0

Load more