Added application code
This commit is contained in:
parent
6380f88376
commit
8eb68951be
21
sampleApp.m
21
sampleApp.m
@ -1,8 +1,21 @@
|
|||||||
%% This function was automatically generated. When modifying its signature, take care to apply
|
%% -----------------
|
||||||
%% modifications also to the descriptor files in the repository.
|
%% 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
|
||||||
|
%%
|
||||||
function sampleApp(inVector)
|
function sampleApp(inVector)
|
||||||
|
|
||||||
%% MATLABSAMPLEAPP1
|
%% sampleApp function that multiplies a vector of number values by a multiplicator and plots the result
|
||||||
%% TODO: Put your application code here
|
%
|
||||||
|
% 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');
|
||||||
|
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user