Community Profile

photo

Vadim Potorocha


Last seen: oltre 3 anni fa Attivo dal 2020

Followers: 0   Following: 0

Statistiche

  • Thankful Level 2
  • Thankful Level 1

Visualizza badge

Feeds

Visto da

Domanda


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...

oltre 3 anni fa | 0 risposte | 0

0

risposte

Domanda


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...

oltre 3 anni fa | 2 risposte | 0

2

risposte

Domanda


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...

oltre 3 anni fa | 0 risposte | 0

0

risposte

Domanda


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...

oltre 3 anni fa | 1 risposta | 0

1

risposta

Domanda


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...

oltre 3 anni fa | 0 risposte | 0

0

risposte

Domanda


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

oltre 3 anni fa | 1 risposta | 0

1

risposta

Domanda


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 ...

oltre 3 anni fa | 1 risposta | 0

1

risposta