photo

Bhargav Boddupalli


Last seen: environ 3 ans il y a Actif depuis 2017

Followers: 0   Following: 0

Statistiques

  • Thankful Level 2
  • Thankful Level 1

Afficher les badges

Feeds

Afficher par

Question


Extracting a constant values from a 2D matrix
Hi, Is there a function which can be used to extract constant/nearest value to a particular value from a 2D? Thanks

plus de 4 ans il y a | 1 réponse | 0

1

réponse

Question


Improving my code - I'm trying to generate a checkerboard of size (222,786); length of each size 20. My code did work but I feel the logic can be improved. Kindly help.
% Channel number 90 to 875 chan = 1:1:786; no_of_chan=length(chan); % ffid 77 to 298 ffid = 1...

plus de 6 ans il y a | 1 réponse | 0

1

réponse

Question


I'm trying to check for a NaN value in an array in if condition expression but the control is not entering inside if condition.
For example : A = [1 2 3 NaN 3 5]; if isnan(A) ~= 0 %... end

presque 7 ans il y a | 1 réponse | 0

1

réponse