photo

Ahmed


Last seen: más de 3 años hace Con actividad desde 2020

Followers: 0   Following: 0

Estadística

  • First Answer

Ver insignias

Feeds

Ver por

Pregunta


How can I modify this code so it gives the value 0 for c. It should only provide ax^2+bx
function [coefficients, MSE] = pnnnfit(x, y, order) coefficients = polyfit(x, y, order) y_fitted = polyval(coefficients, x) s...

más de 3 años hace | 1 respuesta | 0

1

respuesta

Pregunta


need help to plot x,y data points with 'o' without line and y_hat smooth graph
function [m,n] = exp_n(x,y) X=x;Y=log(y); Pn=polyfit(X,Y,1); n=Pnfit_sq(1,1) m=exp(Pnfit_sq(2)) tau = 1/a*-1 y_hat=c...

más de 3 años hace | 1 respuesta | 0

1

respuesta

Pregunta


need help to plot smooth of 𝑦̂ the least-squares fit to the data, over the range of x-values
function [coefficients, MSE] = pnnnfit(x, y, order) coefficients = polyfit(x, y, order) y_fitted = polyval(coefficients, x) s...

más de 3 años hace | 1 respuesta | 0

1

respuesta

Pregunta


need help to fix the error! least square curve d = E *t^2 + D* t
function [ m, Y ] = pnnnfit( x, y, n ) m=polyfit(x,y,n) y_new=polyval(m,x) er_sq=(y-y_new).^2 Y=sum(er_sq) end x=[0 0 ...

más de 3 años hace | 1 respuesta | 0

1

respuesta

Pregunta


how to ➢get zeros beneath the pivot in each column.
function [x] = g_elimination( A,b ) [M,N] = size(A); if M ~= N error('Matrix A is not a square') ; end

más de 3 años hace | 1 respuesta | 0

1

respuesta

Pregunta


I want my graph to show only red line. I'm not sure why it's showing orange line as well
stem(x,y) hold on plot(x, 2.0477*exp(.4927*x)) x_dense= 0: .1: 5; plot(x_dense, 2.0477 *... exp(.4927*x_dense), 'r-') ...

más de 3 años hace | 1 respuesta | 0

1

respuesta

Pregunta


how to include a vertical dotted line to show the cutoff for outliers
subplot(2,1,1) histogram(LH); grid on; title("Graph of (LH)"); xlabel("LH"); ylabel("Scores"); hold on;

más de 3 años hace | 0 respuestas | 0

0

respuestas

Pregunta


how to locate bin center at appropriate integer value?
subplot(2,1,1) histogram(LH); grid on; title("Graph of (LH)"); xlabel("LH"); ylabel("Scores"); hold on;

más de 3 años hace | 1 respuesta | 0

1

respuesta

Pregunta


I want to include a vertical line on the histogram, so it shows the location of the mean. The mean value is 5.12, how can I modify this code?
subplot(2,1,1) histogram(LotH); grid on; title("Graph of (LotH)"); xlabel("LotH"); ylabel("Scores"); hold on; li...

más de 3 años hace | 1 respuesta | 0

1

respuesta