Réponse apportée
Undefined function 'simset' for input arguments of type 'char'.
simset is an obsolete function. See documentation here. It says to use the Configuration Parameters dialog box.

environ 5 ans il y a | 0

Réponse apportée
Newtons method for finding minimum of a function.
Here is another variation; function [f,g,h] = myfunction(x) f1 = @(z) exp(2*sin(z))-z; %function dx ...

environ 5 ans il y a | 0

Réponse apportée
help me in trying to solve the secant method
Try preallocating x, right after you define n: n = 100; x = nan(1,n); ...

environ 5 ans il y a | 0

Réponse apportée
trying to calculate the central diff approximation
There is a Matlab function "diff" which will do this. Otherwise, your subscripts must all match (2:end-1) Adi_1 = diff(Vdi_1...

environ 5 ans il y a | 0

| A accepté

Réponse apportée
Performing calculations (Newton's method) over values in loop
Yes, your loop is not quite right. Notice your placement of the three lines i=1; converge = false; po = p_init(1); These t...

environ 5 ans il y a | 0

| A accepté

Réponse apportée
Draw a circle for arbitrary orientation on spherical surface
My approach is to define the circle around the X-axis, then rotate it into the desired position through a Yaw-Pitch rotation. ...

environ 5 ans il y a | 3

| A accepté

Réponse apportée
the meaning of basic matlab words
an argument is a constant or variable that you provide to a function; e.g. sin(x) % here x is the argument to the function sin...

environ 5 ans il y a | 0

| A accepté

Réponse apportée
How to alter Comet Speed
I don't see a way to control the speed of the comet function. There is a discussion of controlling the speed of an animated lin...

environ 5 ans il y a | 1

Réponse apportée
Incorrect Answer Calculated For Force Calculation
It is assumed that you want to find F3 and y such that the system is in equilibrium (this is not stated) (and I disagree with D...

environ 5 ans il y a | 0

Réponse apportée
Transformation Matrix Between Two Cartesian Systems
This is a very generic question and there are many ways to answer. It depends on what information you have about the two coordi...

environ 5 ans il y a | 0

Réponse apportée
Why is ode45 changing the value of the state variable between calls to my dynamics function?
ode45 implements the Dormand-Prince method which is an embedded 4th / 5th order Runge-Kutta method. For every "step" in the sol...

environ 5 ans il y a | 0

| A accepté

Réponse apportée
Implement friction into a model, related to the velocity. (Missile Launch)
This question is familiar. look here.

environ 5 ans il y a | 0

Réponse apportée
How to make a marker circle bold?
plot(x, y, 'ro', 'linewidth',2);

environ 5 ans il y a | 2

| A accepté

Réponse apportée
how can i resolve this equation Runge kutta method
Ths is the equation for a parabola. y'' = -1 y' = -y y = -1/2 y^2 No need for a numerical approximation.

environ 5 ans il y a | 0

Réponse apportée
Missile Lauch friction gamma factor - Output deviating from desired output, please help!
Step 1: Draw a free body diagram that shows the body with all of the forces that act on it and the coordinate frame(s) that are...

environ 5 ans il y a | 0

| A accepté

Réponse apportée
How to calculate the slope from geopraphical coordinates?
First of all, you should consider the relationship between the WGS84 lat/lon/alt and the ECEF frame. Altitude is perpendicular ...

environ 5 ans il y a | 1

| A accepté

Réponse apportée
calculate rotation matrix in 3D
I'll assume that we make the reference frame right-handed by negating the axis_3 vector such that axis_1 = [2.7239 -0.2014 -...

environ 5 ans il y a | 1

| A accepté

Réponse apportée
Translational motion of a rotating object.
To begin, Chasles' theorem states that translational motion and rotational motion obey the law of superposition. Therefore, you...

environ 5 ans il y a | 0

Réponse apportée
change variable value based on other variable in if loop
Your input command is requesting a string input: in1 = input('first: ','s'); in2 = input('second: ','s'); This results in in1...

environ 5 ans il y a | 1

| A accepté

Réponse apportée
I don't know the problem involved Backward difference.
I am assuming that your question is that you don't understand Simpson's rule. Below is an exerpt from Wikipedia: Simoson'...

environ 5 ans il y a | 0

| A accepté

Réponse apportée
1-2-1 or X-Y-X rotation matrix not supported
I recently cataloged all of the permutations of the 2 and 3 axis planar rotations. It is easy to write your own functions. See...

environ 5 ans il y a | 0

Réponse apportée
Extracting data from simout MATLAB work space
simout is a timeseries structure. I like to extract separate vectors from the structure, for example: t = timout.time(simout.t...

environ 5 ans il y a | 0

| A accepté

Réponse apportée
Where can I publish Matlab-compiled software?
If you want to share the source code, you can post it on Matlab File Exchange

environ 5 ans il y a | 0

| A accepté

Réponse apportée
In my Simulink model I would like to conditionally write output data to selectable .mat files in different relative directories.
This sounds like a rather sophisticated way of constructing output. I'm not sure if that is easily acomplished with the "to fil...

environ 5 ans il y a | 0

| A accepté

Réponse apportée
minimum feret diameter of particle
https://blogs.mathworks.com/steve/2018/02/20/minimum-feret-diameter/?s_tid=answers_rc2-1_p4_MLT

environ 5 ans il y a | 0

Réponse apportée
Vlookup equivalent function for matlab
If your data is in a 2D table (matrix) and you want to locate a column that matches the exact value from another column, then lo...

environ 5 ans il y a | 4

| A accepté

Réponse apportée
How calculate the second and third numerical derivative of one variable f(x)
The Matlab "diff" function is basically the Backward difference formula. There are much more accurate ways to compute numerical...

environ 5 ans il y a | 1

Réponse apportée
Runge kutta order 2 by hand
In the statement Y(1) = [t(1);y(1)] the simi-colon ";" indicates you are attempting to put 2 rows of numbers into a single ro...

environ 5 ans il y a | 0

Réponse apportée
Correct way to detect Zero crossing
A thought you might want to consider: if you multiply the current value, y(i) by the previous value y(i-1), this product is on...

environ 5 ans il y a | 3

Réponse apportée
How to add optional outport to simulink model?
You can use a switch to select between the two different output options that you want, and there are a number of ways to activat...

environ 5 ans il y a | 0

| A accepté

Charger plus