photo

Bhargav Boddupalli


Last seen: mer än 3 år ago Active since 2017

Followers: 0   Following: 0

Statistics

  • Thankful Level 2
  • Thankful Level 1

View badges

Feeds

View by

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

ungefär 5 år ago | 1 answer | 0

1

answer

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

nästan 7 år ago | 1 answer | 0

1

answer

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

mer än 7 år ago | 1 answer | 0

1

answer