photo

Mendi


ta univ.

Last seen: mehr als 2 Jahre vor Aktiv seit 2015

Followers: 0   Following: 0

Nachricht

Statistik

All
  • Solver
  • Explorer
  • First Review
  • First Answer

Abzeichen anzeigen

Feeds

Anzeigen nach

Beantwortet
How to pick a value according to its probability
The fastest one (100ns-200ns): function [idx] = get_random_choice(p) % Random choice with probability % Example: get_rand...

etwa 3 Jahre vor | 1

Beantwortet
How to create a checkerboard matrix without inbuilt function.
It is more natural to use modulus on meshgrid: [iX,iY] = meshgrid(1:8,1:8); Mask=mod(iX+iY,2);

fast 4 Jahre vor | 0

Beantwortet
how to random -1 and 1?
randsample([-1, 1],8,true)

fast 4 Jahre vor | 0

Beantwortet
How to remove labels and grey space between subplots so that the subplots fill-up the entire figure
A cleaner version: tlo = tiledlayout(2,2,'TileSpacing','none','Padding','none'); [X,Y,Z] = peaks(20); nexttile, imagesc(Z) ...

mehr als 4 Jahre vor | 0

Beantwortet
How can I fill a vector with another one with different size?
To find the error source run: length(xpath(1:1:end)) %=100 length(fullPath(1:2:end)) %=101 So change the code to: ...

fast 9 Jahre vor | 0