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

Octave / fun6

.m
Скачиваний:
5
Добавлен:
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} =} fun6 (@var{input1}, @var{input2})
##
## @seealso{}
## @end deftypefn

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

function A = fun6 (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)=exp(i/3)/(1+i^2);
k=k+1;
endfor
endfunction

Соседние файлы в папке Octave