Community Profile

photo

zhehao.nkd


Last seen: Today Active since 2021

Statistics

  • Knowledgeable Level 1
  • First Answer
  • Thankful Level 3

View badges

Content Feed

View by

Answered
How can I degug inside a parfor loop?
For those who are seeking for the solution, there is another possible option by using parfor and try-catch: parfor k = 1: len ...

alrededor de 2 meses ago | 0

Question


How to eliminate the elements in an array from another array when there are repeated elements in both arrays?
For example, A = [ 1,2,2,2,3,4]; B = [1,2,2,3]; What I expect is A eliminate elements from B ( 2 with exact the same number o...

3 meses ago | 1 answer | 0

1

answer

Answered
How to split binary cells and convert them to dec?
C{1} = {'0100101000101000'}; C{2} = {'0100101000101000'}; C{3} = {'0100101000101000'}; if C is your original cell, then: cel...

8 meses ago | 0

| accepted

Answered
How to fix the mapping between colors and values?
I found out the solution by using caxis manual caxis([0,3]); But the prerequisite is that the values should be linearlly dis...

9 meses ago | 0

| accepted

Question


How to fix the mapping between colors and values?
I have a few matrices containing different integers, and I know all the possible intergers which can be found within these matr...

9 meses ago | 2 answers | 0

2

answers

Question


How to terminate drawline() with a buttonPushedCallback?
I would like to repeat the drawline command for selecting multiple ROIs in a figure axes, and I hope to stop the while-loop afte...

más de 1 año ago | 1 answer | 0

1

answer

Question


Why readtable() function cannot read an xlsx file properly?
I have an xlsx file with multiple sheets, and each sheet have 558 rows of data. To read data from a single sheet (e.g. the thir...

más de 1 año ago | 1 answer | 0

1

answer

Question


How to draw a high-contrast spectrogram?
Some software for sound analysis can draw spectrograms with higher contrast (backgrounds are almost zero). I was wondering what ...

más de 1 año ago | 1 answer | 1

1

answer

Question


How can I force the time-axis unit of spectrogram to be 'second(s)' ?
When I use the spectrogram function (https://www.mathworks.com/help/signal/ref/spectrogram.html) , I find that depends on the ti...

más de 1 año ago | 1 answer | 0

1

answer

Question


Trouble with parfor due to the way of indexing a cell
I tried to write the constructor for the Class Analysis I defined. One of its property e is a cell and each element of the cell ...

más de 1 año ago | 0 answers | 0

0

answers

Question


How to design a Class to apply operations for a collection of data?
For example, I have two collections of data, audio stimuli and neurons' response to these audios. What I need is to (1) calculat...

más de 1 año ago | 1 answer | 0

1

answer

Question


Is it possible to write methods that iteratively process each element of an objectarray without writing for-loops each time?
If I have such an objectarray: classdef ObjectArray properties Value end methods function obj = Objec...

más de 1 año ago | 1 answer | 0

1

answer