Community Profile

photo

Rishabh Mishra


Last seen: Today

MathWorks

54 total contributions since 2020

I am application support engineer at Mathworks.
Disclaimer: Any articles/ideas/opinions here are my own and do not in any way reflect those of Mathworks.

Rishabh Mishra's Badges

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

View details...

Contributions in
View by

Answered
Customizable Hot airblower Model
Hi, I am attaching some references from MathWorks website that describe how to model a heater in Simulink. The references are:...

1 day ago | 0

| accepted

Answered
Assigning values in a vector array to a column in an array
Hi, Based on my understanding of the issue described by you, I have created a simple code imitating the process you implemente...

1 day ago | 0

Answered
Using a for loop to create an array of values from the function of two vectors
Hi, The MATLAB documentation on for loops provides extensive aid on how to use and apply the same. You can access the document...

1 day ago | 0

Answered
K means Clusteing with Euclidean Distace
Hi, Based on my understanding of the issue described by you. I would like to highlight a few points, as follows: k-means clu...

14 days ago | 0

Answered
Multiple input vector for polyfit and get polyval , derive the best coeff & least RMS Error
Hi, Try using the following MATLAB functions for curve fitting & creating polynomials from the given data. polydern polyf...

14 days ago | 0

Answered
MATLAB Simulation for Calculation of Series and Parallel Capacitor
Hi, I tried reproducing the code you provided on my system and it is working without errors. You’ve mentioned that you are cal...

14 days ago | 0

Answered
Matlab xcorr function formula
Hi, You may refer to the documentation of 'xcorr' function for this purpose.

14 days ago | 0

Answered
finding limits of two variables
Hi, To evaluate this limit, you will need to implement 2-variable functions using Symbolic Math Techniques. I have described t...

14 days ago | 0

Answered
Matlab/Simulink block
Hi, Please share the model file (with .slx extension) to help us understand the type of block being used. However, the block c...

15 days ago | 0

Answered
K means clustering with initial guess centroids given
Hi, I would like to make following assumptions: The points over which you are applying k-means clustering are 2-D coordinate...

15 days ago | 0

Answered
Adding text in any simulink model
Hi, Please refer to the following links: Describe Models Using Notes and Annotations - MATLAB & Simulink (mathworks.com) A...

15 days ago | 0

Answered
How to write a code to extract different features from multiple images?
Hi, you may use the following links to resolve the issue : Extract Image Features Using Pretrained Network - MATLAB & Simulink...

15 days ago | 0

| accepted

Answered
Using symSum with arrays
Hi, As per my understanding, The cause of error could be the variable ‘i’ that is being used as symbolic variable, it is used ...

28 days ago | 0

Answered
Why do derived parameters only update in the base workspace
Hi, Use the steps below to change/update variables in Model workspace: Export the derived variables/updated data to base wor...

28 days ago | 0

Answered
I'm getting the following error how can I fix it
Hi, Based on my understanding of the model, the error occurs when execution of the model starts. At first time step, t = 0, th...

28 days ago | 0

| accepted

Answered
How to make the axis adjust to new plots
Hi, Based on my understanding of the issue, I can assume that you are using ‘app.graph’ as axes handle object to create plots ...

28 days ago | 0

Answered
What should i add more to create decent autocorr func.
Hi, To create autocorrelation function using given time series ‘t’, ‘t’ should 1 x n array (or vector). Modify the existing co...

28 days ago | 0

Answered
Equation to measure meters from pictures
Hi, To find distance between 2 points, you require their co-ordinates. Assuming co-ordinates for 2 points are stored in array...

28 days ago | 0

Answered
Simulink and simscape difference
Hi, Based on my understanding, I can confirm that simulink follows causal modelling standards & simscape (along with SimElectr...

29 days ago | 0

Answered
Easy Noob Indexing Question
Hi, Use the code below for resolving your issue: C=[A;B]; C=C(4:7,:); This is the simplest way to code the solution for ...

29 days ago | 0

| accepted

Answered
What happened to Simulink fcn?
Hi, You can utilize the following blocks: ‘function caller’ ‘MATLAB function’ ‘Simulink function’ Using these si...

29 days ago | 0

Answered
Finding the Value between meassured points with the Fitting Toolbox
Hi, Since you are dealing with 3D coordinate system. It is important to specify all 3 coordinates (x,y,z) while specifying the...

29 days ago | 0

Answered
Computing generalized Inverse of a square but sparse matrix?
Hi, The disadvantages of using ‘pinv’ to find inverse of sparse matrix are: ‘pinv’ requires costly SVD. ‘pinv’ does not wo...

1 month ago | 0

| accepted

Answered
Hello everyone. I would be very grateful if anyone can help to see if there is any problem with the centroid extracted by this program.
Hi, I have tried reproducing the issue on my end. I would state that you are following the correct method to extract the centr...

1 month ago | 0

| accepted

Answered
Help with logical indexing
Hi, You can use cell arrays (instead of double arrays) along with loop operations to work out the issue. Use the code below f...

1 month ago | 0

Answered
Calculating an average week with datapoint every 15 minutes
Hi, Use the code below to find the average values recorded at 00:15 on all the Mondays in the given datetime array. load NO...

1 month ago | 0

Answered
Check if (x,y) point is within 2d array of (x,y) entries. Where x is one column and y another
Hi, I would like to point out that to create a matrix of points (x,y) you can use complex number. For example, consider the ma...

2 months ago | 0

Answered
I am trying to give an option (in row 15) of making sure you selected the right option. so, I wrote disp('if that correct type (1) if is not correct type(2) and it seem is not working. please help.
Hi, Use the code below to work out the issue you are facing. disp('0. Graphical') disp('1. Incremental Search') disp(...

2 months ago | 0

Answered
How do I create a fit.m function to fit points from a graph to a function such as a line or curve?
Hi, I understand that you intend to create a function that is used for curve fitting purposes. However, MATLAB supports the ve...

2 months ago | 0

Answered
T1 and T2 weighted MRI
Hi, T1 & T2 weighted MRI images are obtained using complex medical imaging techniques and generating such images from initial ...

2 months ago | 0

Load more