MatlabSampleApp1/sampleApp.m

22 lines
638 B
Mathematica
Raw Normal View History

2022-10-18 13:59:30 +02:00
%% -----------------
%% Copyright © 2022 ACK Cyfronet AGH, Poland.
%% -----------------
%%
%% Sample function created for demonstration of creating custom applications functionality
%% See also https://docs.cyfronet.pl/display/ISDOC/Creating+Custom+Applications
%%
2022-10-18 13:21:38 +02:00
function sampleApp(inVector)
2022-10-18 13:59:30 +02:00
%% sampleApp function that multiplies a vector of number values by a multiplicator and plots the result
%
% Inputs:
% - inVector - vector of double number values
%
% Outputs:
% - PNG image file 'vectorPlot.png' containing a plot of the inVector multiplied by multiplicator
%
plot(inVector);
print('-dpng', 'vectorPlot.png');
2022-10-18 13:21:38 +02:00
end