photo

Ran Yang


Active since 2023

Followers: 0   Following: 0

Statistics

All
  • First Submission
  • Knowledgeable Level 2
  • First Answer

View badges

Feeds

View by

Submitted


adjustPolarAngles
A function to robustly shift sets of non-uniform angular values for better downstream statistical analyses, such as angular mean...

7 months ago | 1 download |

Answered
Why is my code in Matlab Answers not colorful?
I think I might have figured it out? After trying to turn more random things off and on again, I tried disabling my VPN and for ...

1 year ago | 0

| accepted

Answered
Access and extract table array using for loop
See How to work with tables and timetables. You can call everything in the ECG column using {:} and then concatenate it. Note t...

1 year ago | 0

Question


Why is my code in Matlab Answers not colorful?
I started using Matlab Answers a few days ago and this is probably a dumb question, but it's starting to bother me. If I write ...

1 year ago | 3 answers | 0

3

answers

Answered
How can I optimize this 4D contour plot?
It looks like you're trying to visualize volumetric data. One way to do that is with slice, but you need to first restructure yo...

1 year ago | 0

| accepted

Answered
Plotting portion of a color coded scatter plot using a for loop
rgb_time is a Nx3 array, so you need to call all 3 columns using rgb_time(i, :) to get the color for each voxel. (Right now you'...

1 year ago | 1

| accepted

Answered
Bubbles edge detection to quantify size distribution
Conceptually, your edges aren't sharp enough because contour detection isn't the right algorithm for the task. You're trying to ...

1 year ago | 0

Answered
Cell array to xlsx file
You can concatenate each element of your cell array using cat or convert the cell array to a regular array using cell2mat. Then ...

1 year ago | 0

Answered
How do I pass the correct string for a function input parameter?
In a Linux terminal, you can use a backslash (\) within quotes to escape formatting, which allows you to put quotes within quote...

1 year ago | 1

| accepted

Answered
Sort Columns by pairs
Store your table as a Matlab variable and then save that, instead of messing with fopen/fclose. T = ErgebnistabelleAV1(:, {'Fre...

1 year ago | 0

| accepted

Answered
Check if all elements of cell array are equal to a certain value?
If your cell array only contains numbers, then you should convert it to a regular array using cell2mat, then test equality using...

1 year ago | 1

Answered
Error using == Matrix dimensions must agree.
Use ismember instead of == . [r, c] = find(ismember(data, lookupValue));

1 year ago | 0

Answered
Most efficient way to separate numerically labeled objects that share borders?
---- Update on 2023-04-10 ---- Mostly figured this out. I just had to isolate each object in its bounding box instead of runnin...

1 year ago | 0

Question


Most efficient way to separate numerically labeled objects that share borders?
Consider the following image mask: IM = [0 0 0 1 1 1 1 0 0 1 1 1 1 1 0 2 2 2 1 1 1 2 2 2 2 2 1 0 2 ...

1 year ago | 2 answers | 0

2

answers