Respondida
performing linear regression fits using cftool based on data points
@Jamie Al Does it look like this? x = [398 292 352 575 568 450 550 408 484 350 503 600 600]; y = [0.15 0.05 0.23 0.43 0.2...

más de 4 años hace | 1

| aceptada

Respondida
How i can solve limit this ODE question .
Looks like the population saturates at 1 million. t = linspace(0, 1500); P = (3000000*exp(t/100))./(997 + 3*exp(t/100)); plot...

más de 4 años hace | 0

Respondida
Using ode45 to solve 2nd order nonlinear ODE
Hi @Fue Xiong You actually need to formulate the simultaneous problem first function F = simulprob(x) F(1) = sqrt(x(1)^...

más de 4 años hace | 0

Respondida
how to plot negative frequency in x axis ?
@Belal Ahmed This impulse response can plotted by following the example here: https://www.mathworks.com/help/control/ref/lti.i...

más de 4 años hace | 1

| aceptada

Respondida
How to zoom on a particular portion of the graph?
Hi @SOMNATH MAHATO After the xlim line, enter this: p = get(gca, 'Position'); h = axes('Parent', gcf, 'Position', [p(1)+.06 p...

más de 4 años hace | 1

| aceptada

Respondida
Trouble graphing. My function is not appearing.
Hi @Alex Chen If you want to see the asymptote, perhaps use fplot() instead. https://www.mathworks.com/help/matlab/ref/fplot.h...

más de 4 años hace | 2

| aceptada

Respondida
Please explain this code about differential equations.
@Mr.DDWW The code is annotated now. Hopefully sufficient for you to understand. By the way, I've fixed the plot line because yo...

más de 4 años hace | 0

Respondida
Help solving differential equations
Hi @Juan Lara Alcaraz Since you have written the code for the differential equations, function dydt = odefcn(t, y) dyd...

más de 4 años hace | 1

| aceptada

Respondida
How can I calculate the value in an equation?
@Ali Deniz Please verify if the nonlinear equation is correct. Looks like there are no real solutions for this one.

más de 4 años hace | 2

| aceptada

Respondida
how to develop brand new optimization algorithm in Matlab like black widow optimization, cuckoo optimization etc.
Hi @harsh Brar If you are into the nature-inspired optimization algorithms, then become an Observer to study the survival, hunt...

más de 4 años hace | 2

| aceptada

Respondida
'step()' and 'tf()' not working on MATLAB 2022?
Hi @Tom Bienas The step() and tf() functions require the Control System Toolbox. You can enter this to determine if the Licen...

más de 4 años hace | 0

Respondida
I want to change my code to a code like the one in the picture below, but how can I modify it?
Hi @EonYak Kang Looks like a signal modulation problem in Communications Engineering. If my guess is correct, then is the Mod...

más de 4 años hace | 1

Respondida
plot two input of matlab function in simulink
@Zainab Alnassar You can stick with your custom function for plotting the phase portrait: function out = fcn(x, y) plot...

más de 4 años hace | 0

Respondida
System of Differential Equations
Hi @Caleb Rudick For numerical solution, I used the example in the ode45 documentation and inserted your parameters. The equati...

más de 4 años hace | 1

Respondida
Damped Harmonic Oscillator fitting for data set
Hi @Sofia Stepanoff I think it pretty much depends on the custom nonlinear model that you supply to the fit() algorithm, as wel...

más de 4 años hace | 0

Respondida
how can I make the curves smoother? please help
Hi @MAYED ALSHEHHI Edit these two lines to increase number of elements and you will get the smooth curves (not crisp anymore). ...

más de 4 años hace | 1

| aceptada

Respondida
When i run the code, i dont see any plot, and i'm not sure why?
Hi @Aeshasvi Bhajan If you insert this line: increment = 0; before this: m = 0.5 + increment; % Units are in SI then you ca...

más de 4 años hace | 1

Respondida
u t( ) = 0 produce a MATLAB script which, for user specified input values of R, L and C, and user specified input values of initial voltage(across the capacitor)and current
Hi @David Sudan You can follow some examples in this documentation: https://www.mathworks.com/help/matlab/ref/ode45.html and ...

más de 4 años hace | 0

Respondida
Direction field and phase potrait
Hi @Tuân Nguyen You can basically plot the direction field like this: [A, L] = meshgrid(0.1:10/14:10.1, -5:10/14:5); M = (- 0...

más de 4 años hace | 1

| aceptada

Respondida
How to find matrix S, given by this equation
@NA, thanks for your clarification on the dimensions. Is this some kind of a Linear Algebra problem? It seems that the square...

más de 4 años hace | 0

Respondida
Find intersections of curves
@Shahd Kasas Try performing analysis on the problem first, before quickly attempting to solve it. The hyperbolic sine is unboun...

más de 4 años hace | 0

Respondida
As of early 2018,Usain Bolt holds the worlds record in the men's 100 meter dash. It is 9.58 sec. What was his average speed in km/hr.? Assign the result to variable in hundred
@Hindol Halder velocity_ms = 100/9.58 velocity_kmh = velocity_ms*(60*60)/1000 What exactly is your problem in converting m/s ...

más de 4 años hace | 0

Respondida
solving the differential equation
Hi Ms. @Hannah Mohebi You did not specify what happen in these two regions and . Furthermore, no useful info about other param...

más de 4 años hace | 0

Respondida
Aerospace blocksets toolbox / Orbit propagator
@KRALFALLAH Mansour The Orbit Propagator block is introduced in R2020b. https://www.mathworks.com/help/aeroblks/orbitpropaga...

más de 4 años hace | 0

Respondida
Image processing fuzzy logic
@Ali Alomar So now you have the image pixel data, and you want send the data to the fuzzy system for character recognition and ...

más de 4 años hace | 1

Respondida
Solving Differential equations of a modified SIR model
Hi @ELUFISAN PAUL TOMILOLA The simulation shows some results, although I didn't check/compare your equations with the standard ...

más de 4 años hace | 0

Respondida
Graphing a 2nd order ODE
Hi @Kyle Brahm I did something similar moment ago in a separate question. Perhaps you can refer to that and apply your own para...

más de 4 años hace | 0

Respondida
Why are there negative PID coefficients?
Hi @Maaz Madha You have to look into the plant transfer function first. On the denominator, the 's' can be factored out. On the...

más de 4 años hace | 1

| aceptada

Respondida
how to solve this second differential equation mx"+cx'+kx+kx^3=f0cos(wt)(I am stuck)
Hi @seoung gi Sin I have fixed the state matrix and remove the unnecessary parameters. Now it should work properly. Dynamics:...

más de 4 años hace | 1

Respondida
Graphing cylinders on same axis
Hi @Ikenna Iwudike Can you try using this code to show your how your cylinders look like? Then we see the region that you want ...

más de 4 años hace | 1

| aceptada

Cargar más