Risposto
How to use fsolve with a function of multiple outputs and inputs.
fsolve() is not suitable for finding multiple solutions, except through the mechanism of running multiple times with different ...

oltre 3 anni fa | 0

Risposto
How to get the state trajectory with a GIVEN input VECTOR using ode45 solver
ode45() is not suitable for finding multiple solutions, except through the mechanism of running multiple times with different u ...

oltre 3 anni fa | 0

Risposto
How can I determine the order of a symbolic differential equation?
There doesn’t exist a direct function to determine the order of a differential equation. However, there is a workaround, and we ...

oltre 3 anni fa | 0

| accettato

Risposto
How can I create sphere in this code?
 The above code is not able to generate spheres primarily because in the workflow any point that is less than r1 is given a true...

oltre 3 anni fa | 0

Risposto
Seperate solutions from solution set
The solve function when used on eqn1 gives the following result as 3*1 symbolic table. (211285985543901728*root(z^5 + (3733595...

oltre 3 anni fa | 0

Risposto
Is is possible to change the needle color of a uigauge?
Right now, we don't support changing the needle color of a uigauge. I have brought this issue to the concerned people and it mig...

oltre 3 anni fa | 0

| accettato

Risposto
Using edge function as a trigger
 The documentation page about discrete event modeling is for Simscape code. It is not MATLAB code and cannot be used in a MATLAB...

oltre 3 anni fa | 0

Risposto
How can I get the equation from Regression Learner App?
The Gaussian Process Model is equivalent to the following: P(y|f,X)~N(y|Hβ+f,σ^2.I) Please refer to the documentation of Gaus...

oltre 3 anni fa | 0

Risposto
Replicating a curve with frequency and area
The second approach can be followed where the log(area) is considered while dividing into bins and the histcounts function can b...

oltre 3 anni fa | 0

Risposto
Newbie: How to plot sum product constrain?
The equation having constraints can be solved with the help of solve function in Symbolic Toolbox in MATLAB. Examples on how t...

oltre 3 anni fa | 0

Risposto
I am trying to use simulink, every-time I try to open blank library this message appears
The default paths of MATLAB may not be configured properly on your workstation. In order to reset them, please proceed with the ...

oltre 3 anni fa | 1

Risposto
Hello everyone i have this code, it generates 1 plot , now i want to have 10000 samples of it of different values by running a loop and then i need to find the pdf of it, how can i do that do that? please help me, thank you
 The 1000 instances data of the variable can be stored in a global variable which can be later used for calculating a much bette...

oltre 3 anni fa | 0

Risposto
Errors at random when trying to print greek alphabets in Matlab 2020a
 The program seems to run fine and produces no errors for even around 20 runs. Look at some examples on how to use Greek Letters...

oltre 3 anni fa | 0

| accettato

Risposto
How to store vector of doubles in a single cell in a table?
The following workaround can be used to store model coefficients in the table. Refer to the following code: x_data = [1;2;4;5;3...

oltre 3 anni fa | 0

| accettato

Risposto
Using TrueType Fonts on MATLAB Plots
I have brought this issue to the notice of our developers. They will investigate the matter further.

oltre 3 anni fa | 0

Risposto
odeFunction, many variables
I have brought this issue to the notice of our developers. They will investigate the matter further.

oltre 3 anni fa | 0

Risposto
How can I solve an ODE that involves a condition on the solution?
The additional condition for y(t) < u(t), then y(t) = u(t), refer to the following workflow: function [zdot] = fun(t,z) ...

oltre 3 anni fa | 0

Risposto
Who can help me fit the data using the matlab, thank you.
Please refer to the following code on how to go about it and get the individual coefficients b1, b2, etc. [D,S,R] = xlsread(...

oltre 3 anni fa | 0

Risposto
Check ode15s code to solve a double derivative DE
There a couple of problems in the code, I would recommend breaking the function into two functions for ease of understanding. On...

oltre 3 anni fa | 0

Risposto
How to solve differential equations for variable input parameters using for loop and ode45?
The code that will solve these differential equations for multiple different Reynolds numbers (Re) can be written as follows and...

oltre 3 anni fa | 0

Risposto
The grid vectors must contain unique points & Error using unique function
The unique function returns the same data as is passed inside it but with no reeditions. The moment vector contained some repet...

oltre 3 anni fa | 0

Risposto
How can I solve a system of non-linear equations for positive values only?
fsolve doesn’t allow bounds but lsqnonlin does. Change the last piece of code to get answers for positive values only. x = ls...

oltre 3 anni fa | 0

| accettato

Risposto
Fit experimental results to an equation and get fit parameters
The fit function in MATLAB can be used to fit a data and the type of fitting can be specified by fittype argument in the functio...

oltre 3 anni fa | 0

Risposto
Can I extract the fully-constructed model from a cfit object, not just the separate pieces of the formula?
There is no direct way to obtain the equation with the substituted parameter values from the 'cfit' object in Curve Fitting Tool...

oltre 3 anni fa | 0

| accettato

Risposto
IF statement to fill a cell array base on conditions
Let’s say the two-volume threshold are volume_threshold1 and volume_threshold2, it can be done like this. Refer to the following...

oltre 3 anni fa | 0

Risposto
using los2 function
In los2 function, a sphere is used with a default readius of 63701000 meters. It’s not possible to request use of an ellipsoid i...

oltre 3 anni fa | 0

| accettato

Risposto
Grouped column headings for a heatmap
There is a customizable heat map present in File Exchange, there is an option for Axes & ticks where the necessary changes can b...

oltre 3 anni fa | 0

| accettato

Risposto
how can i have plot3 from different matrix
To make a 3D mesh from a set of points, the generateMesh function in MATLAB can be used. To include 3-D geometry in it we can us...

oltre 3 anni fa | 0

Risposto
How can I turn plotted line into a 3D surface?
The surf function can be used to our advantage here. Instead of plot command we can use the following command in the script to g...

oltre 3 anni fa | 0

Risposto
how to paste figure to excel file and then save and exit excel?
The problem is arising because at the end of the function, once the graph is pasted to the excel file, it is not saved and direc...

oltre 3 anni fa | 0

Carica altro