fonksiyon yazamıyorum yardım edeblirmisiniz

3 views (last 30 days)
iki noktanın koordinatları verilmis ve bunların standart sapması hesaplama function [s]=son(x1,y1,x2,y2) x1=input(' x1= '); y1=input(' y1= '); x2=input(' x2= '); y2=input(' y2= '); s=sqrt((x2-x1)^2+(y2-y1)^2); dx1=(-(x2-x1)/(s); dy1=(-(y2-y1)/(s); dx2=((x2-x1)/(s) ; dy2=((y2-y1)/(s);
[ds]=[dx1 dy1 dx2 dy2 ];
[Kll]=[(mx1)^2 0 0 0;0 (my1)^2 0 0;0 0 (mx2)^2 0;0 0 0 (my2)^2];
Kff=(ds*Kll*(ds'));
end

Answers (0)

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!