Answered
Regular expressions to find if I won a game
Hi Pedro Alexandre Fernandes, I understand that you want to check whether a given sequence of balls would result in a win or a...

7 months ago | 0

Answered
Symmetric (Diverging) log color scale
Hi Danielle, I understand you want symmetric logarithmic colorbar using "log" property of "ColorScale" but you are getting onl...

7 months ago | 0

Answered
Scope data either fails to print or is inconsistent with results explorer.
Hi Michael, I understand that you are trying to analyse the results by comparing the "Scope Data" and the "Simscape Result Expl...

7 months ago | 0

Answered
How can I shift a piece of text from the centre of the screen to the right by a certain number of pixels?
Hi Joshua, I understand that you are tring to plot two "+" signs, one in the centre of the screen and other shifted right by so...

8 months ago | 0

Answered
How to fix the semilogx function for figure 5.31..
Hi Eugene Ouchi, I understand that you are trying to plot the equations using "semilogx" function of MATLAB. I tried to reprod...

8 months ago | 0

Answered
Packed bed reactor problem
Hi Raheel Razaq, I understand that you are trying to plot varying flowrates against volume for a packed bed reactor problem. A...

8 months ago | 0

Answered
Why do I receive an error in calling "decic"?
Hi Tobias Hubach, I understand that you are trying to use the "decic" function of MATLAB to solve the differential equations. ...

8 months ago | 0

Answered
integral solver give a function as result
Hi Gianluca Angelini, I understand that you are trying to solve the equations using "integral" but in the provided code you hav...

8 months ago | 0

| accepted

Answered
Why my grid data always show a zero by zero dimension?
Hi Muhammad Qaisar Fahim, I understand that you are trying to interpolate the data onto a grid using "griddata" but you are get...

8 months ago | 0

Answered
How to assign multiple variables
Hi Danish, I ran your code at my end and tried to reprocude the error. In the code you are calculating "Ctheta2_exitvolute" and...

9 months ago | 0

Answered
how to make a patch using normal vector?
Hi Sierra, I understand that you want to plot a patch over some already plotted graphs means you want to overlay a patch. To...

9 months ago | 0

Answered
Plot shapefile over site location data
Hi Ahmed, I understand that you are tring to overlay ploygons over the sites using "shaperead()" and "mapshow()". I tried to p...

9 months ago | 0

Answered
Error "Method 'Control' is not defined for class 'matlab.graphics.controls.internal.Control'"
Hi Bruno, I understand that you are trying to use graphics system of MATLAB to plot some graphs or figures. I tried to reprodu...

9 months ago | 0

Answered
Without using drawnow command i want plot from below code
Hi Nune Pratyusha, I understand that you are trying to plot a 2D graph. To plot a 2D graph you can use "plot()" function. And...

9 months ago | 0

Answered
Graphing a hypersurface from two inequalities
Hi Ursula, I understand that you are trying to plot a hypersurface using "surf" function. In your code you are using "hold on"...

9 months ago | 0

Answered
I am not getting correct plot
Hi Nune Pratyusha, I understand that you are trying to plot a 2D graph. To plot a 2D graph you can use "plot()" function. And...

9 months ago | 0

Answered
I am having problems evaluating the symbolic expressions for the reactions in a beam problem.
Hi Nickilese, I understand that you are trying to evaluate symbolic equations with the "solve" function and you are getting an...

10 months ago | 0

Answered
Visualisation of non overlapping code
Hi Shubham, As you want to calculate if two ellipses are overlapping or not and your code initializes the variables 'x0', 'y0',...

11 months ago | 0

Answered
Solve matrix with different symbolic variable
Hi Milan, As you have not provided the 'assem()' function so I was not able to reproduce the error at my end. But as I can see...

11 months ago | 0

Answered
knnclassify to fitcknn conversion
Hi Dafni, As you want to train your model for "k-nearest neighbor classsifier" using 'fircknn()' you can follow these steps: F...

11 months ago | 0

Answered
Constant calculated by Simpson's method is not giving correct result, whilst when i give direct numerical value, the code is runnung.
Hi Vipul, I tried to reproduce the error at my end and tried to run the code that you have provided. In your code for the cal...

11 months ago | 0

Answered
how can I simulate this NMPC in close loop? i try using the matlab examples but i have a lot of parameters.
Hi Juan, In my understanding you have provided the code for 'NMPC' and now you want to simulate this 'NMPC' in a closed loop. F...

11 months ago | 0

Answered
Solving a problem with the Energy method with Hermite cubic function
Hi Francesca, As in your code, you have created a 'for loop' for 'l = 1:2*m+1' for the calculation of 'u'. And for every iterat...

11 months ago | 2

| accepted

Answered
Plot function within optimisation algorithm does not work with subplots -
Hi Ondrej, I understand that you are getting error while using "solve()" function. This is because your function "plotprogress(...

11 months ago | 0

| accepted

Answered
Issue using fgoalattain. How do i fix?
Hi userpv, I am assuming that the error you are referring to is the one that you have pasted above your code. Actually that is...

11 months ago | 0

Answered
how to plot values that are used in iteration
Hi Ismail, I understand that you are getting trouble while plotting. But as you can see in your "plot(Wn:Wnf:Wns,TT3)" function...

11 months ago | 0

Answered
simplify symbolic trigonometric expression
Hi Mohd Aaquib, You can resolve this by breaking down the equation means you can combine the similar expressions and then simpl...

11 months ago | 0

Answered
Finding error and partial sum in a Fourier Series
Hi Ryan, I understand that you are trying to calculate the “Root Mean Square Error” smaller than 10^-6 from 1 to some value of...

11 months ago | 0

Answered
Hi, help me in this error: unrecognized field name 'categories'.
Hi Afiq, The error message “unrecognized field name ‘categories’” indicates that the field name ‘categories’ does not exist wi...

11 months ago | 0

Answered
Run a simulink model from a nested function in matlab code and save data
Hi Irene, When you simulate a model programmatically inside a function, logged data is returned in the workspace for the functi...

11 months ago | 1

| accepted

Load more