Engineering and technology notes
Block encoder – MATLAB encode
code = encode(msg,n,k,’linear/fmt‘,genmat)
code = encode(msg,n,k,’cyclic/fmt‘,genpoly)
code = encode(msg,n,k,’hamming/fmt‘,prim_poly)
code = encode(msg,n,k)
[code,added] = encode(…)
Source: Block encoder – MATLAB encode
Growbubbles – maximum radius packing
function ptRads = growbubbles(ptsIn)
%GROWBUBBLES packs maximum radius circles at given central locations
%
% PTRADS = GROWBUBBLES(PTS) returns the radius of circles at coordinates in PTS with all radii
% maximised but without any circles overlapping. PTS is a P-by-N matrix of P “N-dimensional”
% points.
%
% If no output argument is given, PTSIN will be plotted as circles (2D) or spheres (3D) to the
% current figure.
%
% Example:
%
% % Find the maximum packed radius of 20 random points
% x = rand(20, 2);
% ptRads = growbubbles(x);
%
% See also DELAUNAYTRI
% Copyright 2011 Sven Holcombe. This code may be freely used and distributed, so long as it
% maintains this copyright line
[nPts, nDims] = size(ptsIn);
% Make a distance map from each point to all others, making sure pt A to A is infinite
distMap = sqrt(cell2mat(arrayfun(@(i)sum(bsxfun(@minus,ptsIn(i,:), ptsIn).^2,2),1:nPts,’UniformOutput’,false)));
distMap(logical(eye(size(distMap)))) = inf;
% Measure the initial nearest neighbours, setting point radii to half that distance
[nnDists, nn] = min(distMap,[],1);
ptRads = nnDists/2;
% Any pairs of points that are each their nearest neighbour are “finalised” and cannot expand
finalisedMask = arrayfun(@(i)nn(nn(i))==i, 1:nPts);
% Other “open” points can expand one by one
while ~all(finalisedMask)
openPtIds = find(~finalisedMask);
% Find the distance from these points’ circles to all other circles, and get that smallest gap
openDistMap = bsxfun(@minus, bsxfun(@minus, distMap(:, openPtIds), ptRads(openPtIds)), ptRads’);
openPtMinGap = min(openDistMap,[],1);
% Take the smallest gap, expand that point’s circle to close that gap, finalise that point.
[~,idx] = min(openPtMinGap);
ptRads(openPtIds(idx)) = ptRads(openPtIds(idx)) + openPtMinGap(idx);
finalisedMask(openPtIds(idx)) = true;
end
% If no output given, plot into current figure!
if ~nargout
switch nDims
case 2
hold on
plot(ptsIn(:,1),ptsIn(:,2),’.’)
cnrPts = bsxfun(@minus, ptsIn, ptRads(:));
for i = find(ptRads(:)’>0)
rectangle(‘Position’, [ cnrPts(i,:) [2 2]*ptRads(i)], ‘Curvature’,[1 1])
text(ptsIn(i,1), ptsIn(i,2), num2str(i))
end
axis equal
case 3
hold on
[X,Y,Z] = ellipsoid(0,0,0,1,1,1,50);
cols = interp1(0:6, lines(7), rand(nPts,1)*6);
for i = 1:nPts
surface(X*ptRads(i) + ptsIn(i,1),…
Y*ptRads(i) + ptsIn(i,2),…
Z*ptRads(i) + ptsIn(i,3),…
‘FaceColor’,cols(i,:), ‘EdgeColor’,’none’);
end
otherwise
disp(‘Only 2 or 3 dimensional data can be displayed…’)
end
end
Source: Growbubbles – maximum radius packing – File Exchange – MATLAB Central
Transition from Cloud Solution Provider (CSP) direct bill partner to CSP indirect reseller – Partner Center
Maxima – Using it as a calculator
http://www.hippasus.com/resources/symmath/maximacalc.html
Johann Strauss II – Künstlerleben – Walzer, op. 316
Josh Ritter – Harrisburg – YouTube
fujitsu esprimo e3521 d3041 motherboard
Fujitsu Technical Support – microcode updater
Fujitsu Technical Support – bios microcode updater
Sayonara Player Official Site – Install and run GuitarPro 6 on Linux 64 Bit
Francis Poulenc
Francis Jean Marcel Poulenc (French: [fʁɑ̃sis ʒɑ̃ maʁsɛl pulɛ̃k]; 7 January 1899 – 30 January 1963) was a French composer and pianist. His compositions include songs, solo piano works, chamber music, choral pieces, operas, ballets, and orchestral concert music. Among the best-known are the piano suite Trois mouvements perpétuels (1919), the ballet Les biches (1923), the Concert champêtre (1928) for harpsichord and orchestra, the Organ Concerto (1938), the opera Dialogues des Carmélites (1957), and the Gloria (1959) for soprano, choir and orchestra.
As the only son of a prosperous manufacturer Poulenc was expected to follow his father into the family firm, and he was not allowed to enrol at a music college. Largely self-educated musically, he studied with the pianist Ricardo Viñes, who became his mentor after the composer’s parents died. Poulenc also made the acquaintance of Erik Satie, under whose tutelage he became one of a group of young composers known collectively as Les Six. In his early works Poulenc became known for his high spirits and irreverence. During the 1930s a much more serious side to his nature emerged, particularly in the religious music he composed from 1936 onwards, which he alternated with his more light-hearted works.
In addition to composing, Poulenc was an accomplished pianist. He was particularly celebrated for his performing partnerships with the baritone Pierre Bernac (who also advised him in vocal writing) and the soprano Denise Duval, touring in Europe and America with each, and making many recordings. He was among the first composers to see the importance of the gramophone, and he recorded extensively from 1928 onwards.
In his later years, and for decades after his death, Poulenc had a reputation, particularly in his native country, as a humorous, lightweight composer, and his religious music was often overlooked. During the 21st century more attention has been given to his serious works, with many new productions of Dialogues des Carmélites and La voix humaine worldwide, and numerous live and recorded performances of his songs and choral music.