summaryrefslogtreecommitdiff
path: root/1034/CH1/EX1.4/example4.sce
blob: dd6d94031261c303b723cd075b82ba32a4789160 (plain)
1
2
3
4
5
6
7
8
9
// example 1.4
// permutation of a string or character array...
clear;
clc;
x=['a' 'b' 'c' 'd']
printf("\npossible permutation of given string are\n");
y=perms(x);
disp(y);