![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/20290347_1604987140855_DEF.jpg)
Vadim Potorocha
Followers: 0 Following: 0
Feeds
提问
How to find the smallest entropy value greater than 88 bits from a given alphabet
function [b, n] = calc_info(msg, alph, alph_p) size_alph = numel(alph); size_alph_p = numel(alph_p); size_msg = num...
3 years 前 | 0 个回答 | 0
0
个回答提问
Is NaN ok here?
%coin txt 5.00000000e-01 5.00000000e-01 %crime txt 1.66000000e-01 6.60000000e-02 1.40000000e-02 3.90000000e-02 1.40000000...
4 years 前 | 2 个回答 | 0
2
个回答提问
Code function without if else switch and loops. Is that possible?
Write a function that takes a rectangular matrix as a parameter, removes rows in it, the first element of which is less than 0.5...
4 years 前 | 0 个回答 | 0
0
个回答提问
How to code a function that calculates the redundancy of a given alphabet
I have a function that calculates the entropy of vector element function h = alph_entropy(P) h = -sum(P .* log2(P)); endfu...
4 years 前 | 1 个回答 | 0
1
个回答提问
In item 7, I need to use short labels for the x, y, z axes. How it is? Thank you
x = -4:0.1:4; y = -4:0.1:4; [X,Y] = meshgrid(x,y) Z = cos(37.6*X).*X.^3-Y.^2; figure('Name','Zadanie 7','NumberTitle...
4 years 前 | 0 个回答 | 0
0
个回答提问
How to optimize this code?
u = (0:1500).*(96*(2*pi)/1500); % spiral with 96 waves r=u./2; % spiral radius x=r.* cos(u); % X y=r.* sin(u); % Y
4 years 前 | 1 个回答 | 0
1
个回答提问
How to write included function into other
Hi, i need to write a function that simulates a coin toss: r = coin_flip (N), where N is the number of tosses, r is a logical ...
4 years 前 | 1 个回答 | 0