how to protect my code from copying by other users?

clc,clear
c=5;
for N=1:15;
A=3;B=7;
if N>=c
Ixy(N)=A+B*N*N;
Nc(N)=N;
fprintf('%d\t %d\t\t\n',Ixy(N),Nc(N))
elseif N<5
Ixy(N)=+B;
Nc(N)=N;
fprintf('%d\t%d\t\t\n',Ixy(N),Nc(N))
end
end
N=1:15;
plot(Ixy(N),Nc(N))

1 Comment

Why would somebody care to copy this code?
Learn what a p-file is.

Sign in to comment.

Categories

Find more on MATLAB Compiler in Help Center and File Exchange

Products

Tags

Asked:

on 9 Aug 2015

Answered:

on 9 Aug 2015

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!