Добавил:
Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:

Octave / fun21

.m
Скачиваний:
4
Добавлен:
18.08.2022
Размер:
1.05 Кб
Скачать
## Copyright (C) 2021 Lenovo
##
## This program is free software: you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation, either version 3 of the License, or
## (at your option) any later version.
##
## This program is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
## GNU General Public License for more details.
##
## You should have received a copy of the GNU General Public License
## along with this program. If not, see <https://www.gnu.org/licenses/>.

## -*- texinfo -*-
## @deftypefn {} {@var{retval} =} fun21 (@var{input1}, @var{input2})
##
## @seealso{}
## @end deftypefn

## Author: Lenovo <Lenovo@DESKTOP-EIHPQD9>
## Created: 2021-09-24

function A = fun21 (a, b,h)
#A(1:2,1:((b-a)/h))=0;
k=1;
for i=a:h:b
A(1,k)=i;
A(2,k)= asin(exp(-i^2/5));
k=k+1;
endfor
endfunction
Соседние файлы в папке Octave