photo

Ahmed


Last seen: presque 4 ans il y a Actif depuis 2020

Followers: 0   Following: 0

Statistiques

  • First Answer

Afficher les badges

Feeds

Afficher par

Question


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...

presque 4 ans il y a | 1 réponse | 0

1

réponse

Question


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...

presque 4 ans il y a | 1 réponse | 0

1

réponse

Question


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...

presque 4 ans il y a | 1 réponse | 0

1

réponse

Question


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 ...

presque 4 ans il y a | 1 réponse | 0

1

réponse

Question


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

environ 4 ans il y a | 1 réponse | 0

1

réponse

Question


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-') ...

environ 4 ans il y a | 1 réponse | 0

1

réponse

Question


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;

environ 4 ans il y a | 1 réponse | 0

0

réponse

Question


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;

environ 4 ans il y a | 1 réponse | 0

1

réponse

Question


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...

environ 4 ans il y a | 1 réponse | 0

1

réponse