Community Profile

# Ahmed

Last seen: 2년 이하 전 2020년부터 활동

배지 보기

#### Content Feed

보기 기준

질문

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

2년 이하 전 | 답변 수: 1 | 0

### 1

답변

질문

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

약 2년 전 | 답변 수: 1 | 0

### 1

답변

질문

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

약 2년 전 | 답변 수: 1 | 0

### 1

답변

질문

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

약 2년 전 | 답변 수: 1 | 0

### 1

답변

질문

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

약 2년 전 | 답변 수: 1 | 0

### 1

답변

질문

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

약 2년 전 | 답변 수: 1 | 0

### 1

답변

질문

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;

약 2년 전 | 답변 수: 0 | 0

### 0

답변

질문

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;

약 2년 전 | 답변 수: 1 | 0

### 1

답변

질문

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

약 2년 전 | 답변 수: 1 | 0

답변