# rumin diao

Last seen: 10 months ago Active since 2022

Followers: 0   Following: 0

View badges

#### Feeds

View by

Question

how to use websocket to send binary data?
i have an front end project and the back end needs to transmit binary data to it by websocket. is there any chance to transmit b...

1 year ago | 1 answer | 0

### 1

answer

Question

how to find all aliques of a node from an adjacency matrix?
i ran into a problem that find all cliques that a node have... for example, here's an adjacency matrix: X = [0 1 1 1 1 1 ...

2 years ago | 0 answers | 1

### 0

answers

Answered
frequency shift slider in real time
if you add a slider in appdesigner: you can get the current slider number by "app.Slider.Value" . "app.Slider" is the name...

2 years ago | 0

Answered
Moving a slider and taking the data to calculate an output in the edit field section, appdesigner
i've added a slider and an edit field in app designer as a example, and they will show up in the right column: the name he...

2 years ago | 0

Answered
How to find distance using loop?
you can use two loops: dist = zeros(8,4); % the matrix to save distances for i = 1 : 8 % use this loop to get IRS1-IRS8 f...

2 years ago | 0

| accepted

Answered
How do I rewrite this code to output the same answer without the for loops
it seems you can delete the for loop and make i a vector: A = [1 3 5 7 9]; B = [2 4 6 8 10]; L = min([length(A) length(B)]); ...

2 years ago | 0

| accepted

Answered
Selecting Specific Elements in a Matrix Using Group
you can use the function 'find' to locate different gender: %current code Height = [62; 65; 63; 70; 58; 70; 73]; Gender = [1;...

2 years ago | 0

Answered
How to know that each of the output is computed when the input is belong for specific range and print it in the same output?
you could add a new variable in the function and use it to return 'L M H', i've added a variable 'Belong' and here's the code: ...

2 years ago | 0

Answered
help with calling a function on matlab
you defined the function by using 'test = myMask(bw)' which means the function will returns a variable 'test', but in it, you di...

2 years ago | 0

| accepted

Question

how to put an app designer window in the center of the screen?
hi, i've been designed an app in matlab, now the problem is that i want to put the app window in the center of the screen withou...

2 years ago | 3 answers | 0

### 3

answers

Question

When zooming in the axes of the app designer, my text will go out of the axes, how to aviod this?
like this. The rectangle represents the axes and the numbers represent text i added, when i zoom in the rectangle, those text ...

2 years ago | 1 answer | 0

### 1

answer

Answered
Poisson Point Process on a sphere
hey, i'm not quite understand the method of poisson point process on a sphere, why do you generate theta and phi with R_E, isn't...

2 years ago | 0