Respondida
Earthquake simulation - finite elements method
Hey @Steph Moty I remember seeing this book "MATLAB Codes for Finite Element Analysis: Solids and Structures" in the library. ...

alrededor de 4 años hace | 0

Respondida
Can you help please?
Hi @Konian Jean Philippe Lionnel Moro Please find out relevant info about Newton-Raphson method here, and see if helps you in w...

alrededor de 4 años hace | 2

| aceptada

Respondida
Find using the method of Newton-Raphson (h(𝛼) = 𝑓(𝛼) − 𝑔(𝛼)) the two solutions with a tolerance equal 10-8.
Hi @saher haz I'm unsure if I understand your question clearly. But you can definitely find some info about Newton-Raphson meth...

alrededor de 4 años hace | 0

Respondida
write a MATLAB code to find the largest element in an array of 10 elements then check whether the number is ODD or EVEN Note: use only (for-loop and if-statement) method t
Hi @3lewwi I think the advice was misconstrued. Generally, the forum moderators never know whether it is a school homework or a...

alrededor de 4 años hace | 0

Respondida
Control System for a Thermoelectric Cooler in Matlab & Simulink
Hi @Nicholas Zanon Since you have found the use of Peltier Device as a Thermoelectric Cooler, then try connecting a controller ...

alrededor de 4 años hace | 0

Respondida
fit a sine wave to a set of data points
Hi @C.G. I've got this. What do you get? General model Sin8: f(x) = a1*sin(b1*x+c1) + a2*sin(b2...

alrededor de 4 años hace | 0

Respondida
How to detect vehicle from a video using MATLAB?
Hi @Kiran Das You can learn to use deep learning for training a vision-based vehicle detector. See a working example here: htt...

alrededor de 4 años hace | 0

Respondida
How to plug in and solve for algebraic equation?
Hi @Meet Koradia The idea is to reverse the equality in , and then isolate to the left-hand side. You can solve this algebra p...

alrededor de 4 años hace | 0

Respondida
Help on suitable Simulink Blocks to use
@Williams, this is good. If you have the algorithm, generally, it should simplify things in Simulink. Simulink has a block that...

alrededor de 4 años hace | 1

| aceptada

Respondida
unit step function to MATLAB
Hi @Faisal Al-Wazir Unit Step function defined for negative time? clear all; clc t = -6:0.0001:6; x = 2.5*(sign(t - -0.5) -...

alrededor de 4 años hace | 1

| aceptada

Respondida
applying newton's method
Hi @Romaisa Abdeselam Lazrak You can find the examples related to Newton-Raphson method in this link: https://www.mathworks.co...

más de 4 años hace | 0

Respondida
How to implement the given equation in MATLAB?
Thanks @chaaru datta. But the data you shared are non-copyable because they are images. You can click the MATLAB code button an...

más de 4 años hace | 1

| aceptada

Respondida
How to write function for SIMULINK model and it's variables
Hi Azin For example only. Explore it. https://www.mathworks.com/help/simulink/slref/matlabfunction.html function [V, tau] = s...

más de 4 años hace | 0

Respondida
How to see the value of outputs in ANFIS
Hi @redha wassim brahimi You can use this function called evalfis() . This syntax is given below: output = evalfis(fis, input)...

más de 4 años hace | 1

| aceptada

Respondida
Plotting Graph in Matlab
@Vartika Agarwal Suggest a simple solution: t1 = 70:81; t2 = 81:85; t3 = 85:100; plot(t1, t1, 'b', t2, t2, 'b--', t3, t3, '...

más de 4 años hace | 1

| aceptada

Respondida
how to plots these values?
Hi @Rakesh Roshan Hope this helps! % Data S = [-0.0032 -0.0045 -0.0056]; F = [8 9 10]; % creating plots figure(1) plot(...

más de 4 años hace | 0

Respondida
I want to create sliders for different parameters
Hi @Marco Zanasco Check out uislider if you want to create slider component. The example should be helpful. https://www.mathwo...

más de 4 años hace | 0

Respondida
Calculate swath area of a satellite
Hi @Andrea Curatolo I don't have Wert's Handbook with me right. But I have found something from the Radar Toolbox that might be...

más de 4 años hace | 0

Respondida
Input an array to transfer function block in simulink
@ANAND NALE I don't remember that the Transfer Function block works as a MISO system. If you think that all 20 inputs are fed ...

más de 4 años hace | 0

Respondida
How to plot this equation if C is 4?
@ken Alternatively, you may use fplot for an overview. fplot(@(t) (5*t.^2)./(t.^5 + 4), [-6 6])

más de 4 años hace | 1

Respondida
how do I make this signal look like a rectangular pulse?
@Kwaku Junior Maybe like this? t = linspace(0, 400, 40001); u1 = heaviside(t - 185); u2 = heaviside(t - 210); u = u1 - u2; ...

más de 4 años hace | 1

| aceptada

Respondida
How to solve matrix in characteristic equation?
Hi @Tianyi Chai This is actually very easy if you know algebra and solving simultaneous equations on the desired characteristic...

más de 4 años hace | 2

| aceptada

Respondida
How to correct the code?
Hi @susan sara Adding these lines should work n = 1; h = repmat({true(n)}, 7, 1); Output = A(logical(blkdiag(h{:}))) Output...

más de 4 años hace | 2

| aceptada

Respondida
How can i fix this error ?
@Do Son Try this: % to formulate ODE syms s t y(t) Y(s) D1y = diff(y); D2y = diff(D1y); Eqn = D2y + 2*D1y == 8*t % to ...

más de 4 años hace | 2

| aceptada

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

Cargar más