Community Profile

photo

Siyu Guo


15 total contributions since 2018

Siyu Guo's Badges

  • Knowledgeable Level 2
  • First Answer

View details...

Contributions in
View by

Answered
My 'For' sequence is giving me "Array indices must be positive integers or logical values."
Array index in MATLAB starts from 1 instead of 0.

2 years ago | 0

| accepted

Answered
use diff for jacobian but there is a problem
I think MATLAB does not recognize the function "cosd" in its symbolic computations. You should instead use "cos", which means yo...

2 years ago | 1

Answered
What is wrong with my code?
You try to read the variable "pi_val" before you have initialized it by a write operation. This is an error, at least for MATLAB...

2 years ago | 0

Answered
How to determine the most common (most occurring) number in column of a large data of more than 100,000 length of data
Suppose v is your data vector. u = unique(v); h = hist(v,u); [~,i] = max(h); value_with_most_occurrences = u(i);

2 years ago | 0

Answered
How to position groups of matrices inside a bigger matrix
blkdiag function is the tool you are looking for. Help it in MATLAB. Note you can use a loop within which the function is called...

2 years ago | 0

| accepted

Answered
How to add a selection of elements from one matrix to a selection of elements of another matrix?
The sub-matrix in Y_dif is 56-by-3 and the destination sub-matrix in Y is 56-by-5. The sizes do not match, and the addition cann...

2 years ago | 0

| accepted

Answered
How to categorise a column vector
Try the "unique" function. Help it in MATLAB.

2 years ago | 0

Answered
How to fit a quadratic function using the "minimizing the volume-weighted mean squared error"?
u = sqrt(w(:)); b1 = u; b2 = u.*x(:); b3 = u.*x(:).^2; f = u.*y(:); A = [dot(b1,b1) dot(b1,b2) dot(b1,b3); ...

2 years ago | 0

| accepted

Answered
How to do segmentation of the overlapped cells in an image and obtain their co-ordinate?
I can't see how you have done the watershed. It seems to me that an Euclidean distance transformation on the binary nuclei image...

2 years ago | 0

Answered
Finding the Maximum of 6 matrices
Guess max(cat(3,M1,M2,M3,M4,M5,M6), [], 3) should do.

2 years ago | 0

Answered
I need help with an error
Your function call is darts(17,19), which means the wedges parameter passed into the function is the scalar 17, represented in M...

2 years ago | 1

Answered
How to create a string that depends on user input variables?
Try poly2str function. For example, s = poly2str(p, 'x').

2 years ago | 0

Answered
How can I tell if the raw data that I have is an image?
GIF, JPEG, etc., are image FILE format. Image data may be compressed, and additional information is added into the file, e.g., B...

2 years ago | 0

Answered
How is it possible to get new matrix with some values of another matrix?
This is the very elementary array index operation. To retrieve the specified data, just use S(:, 200:25:700) If you'd like...

2 years ago | 1

| accepted

Question


What's the reason that I can't login Cody Coursework?
I have applied and activated a MathWorks account. Yet when I went to the Cody Coursework Login page and clicked the Sign In butt...

2 years ago | 0 answers | 0

0

answers