Community Profile

photo

Rishabh Mishra


Last seen: 9 days ago

MathWorks

58 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

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

View details...

Contributions in
View by

Answered
Select points from a 3D plot by using the mouse
Hi, Based on description of your issue, I understand that you are trying to extract the coordinates of the point (on a plot) se...

4 months ago | 0

Answered
Alphanumeric sorting of data
Hi, Based on my understanding of the issue, I suggest you to implement the 'sort_nat' function. The function is used to sort ar...

4 months ago | 0

| accepted

Answered
Separate datasets into months
Hi, I understand that you are trying to separate data based on their corresponding datetime values, Each data point should be o...

4 months ago | 0

| accepted

Answered
Problems with MLE method and curve fitting!
Hi, Based on my understanding, you can use 'polyfitn' function to estimate the parameters a, b, c. For this purpose, you requir...

4 months ago | 0

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

4 months 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...

4 months 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...

4 months 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...

4 months 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...

4 months 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...

4 months ago | 0

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

4 months 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...

4 months 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...

4 months 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...

4 months 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...

4 months 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...

4 months 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 ...

5 months 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...

5 months 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...

5 months 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 ...

5 months 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...

5 months 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...

5 months 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...

5 months 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 ...

5 months 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...

5 months 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...

5 months 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...

5 months 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...

5 months 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...

5 months 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...

5 months ago | 0

Load more