własne, Studia, 4 semestr, metody obliczeniowe, własne ćwiczenia

Nie obrażaj więc mojej inteligencji poprzez czynione na pokaz zaniżanie własnej.
a=10a =10b=1.922b =1.9220z=a+b-a^bz =-71.6383a+b+zans =-59.7163helpview([docroot '/techdoc/learn_matlab/learn_matlab.map'], 'matlab_getting_started')%dzia³anie_1v=linespace(1,3,5){??? Undefined function or method 'linespace' for input arguments of type 'double'.}v=linespace(1,3,5){??? Undefined function or method 'linespace' for input arguments of type 'double'.}v=linspace(1,3,5)v =1.0000 1.5000 2.0000 2.5000 3.0000v(3)ans =2x=0:0.3:1x =0 0.3000 0.6000 0.9000lenght(x){??? Undefined function or method 'lenght' for input arguments of type 'double'.}length(x)ans =4x(1)=x(3)+x(4)-x(2+1)x =0.9000 0.3000 0.6000 0.9000y=x'y =0.90000.30000.60000.9000a=[1 2 3]a =1 2 3b=[4 6 7]b =4 6 7a*b{??? Error using ==> mtimesInner matrix dimensions must agree.}a*b'ans =37dot(a,b)ans =37cross(a,b)ans =-4 5 -2A=[1 2 3 4; 0 1 22 3; 3 4 5 6]A =1 2 3 40 1 22 33 4 5 6wymiar=size(A)wymiar =3 4B=rand(4,4)B =0.8147 0.6324 0.9575 0.95720.9058 0.0975 0.9649 0.48540.1270 0.2785 0.1576 0.80030.9134 0.5469 0.9706 0.1419A=rand(4,4)A =0.4218 0.6557 0.6787 0.65550.9157 0.0357 0.7577 0.17120.7922 0.8491 0.7431 0.70600.9595 0.9340 0.3922 0.0318C=A+BC =1.2365 1.2881 1.6362 1.61261.8215 0.1333 1.7226 0.65660.9192 1.1276 0.9007 1.50631.8729 1.4809 1.3628 0.1737F=A*BF =1.6225 0.8782 1.7797 1.35821.0310 0.8872 1.1969 1.52452.1538 1.1769 2.3803 1.86531.7066 0.8245 1.9126 1.6901G=4*AG =1.6870 2.6230 2.7149 2.62193.6629 0.1428 3.0310 0.68473.1688 3.3965 2.9725 2.82423.8380 3.7360 1.5689 0.1273det(A)ans =-0.0961det(B)ans =-0.0261U=G'U =1.6870 3.6629 3.1688 3.83802.6230 0.1428 3.3965 3.73602.7149 3.0310 2.9725 1.56892.6219 0.6847 2.8242 0.1273
  • zanotowane.pl
  • doc.pisz.pl
  • pdf.pisz.pl
  • alter.htw.pl
  • Powered by WordPress, © Nie obrażaj więc mojej inteligencji poprzez czynione na pokaz zaniżanie własnej.