photo

Siyu Guo


Attivo dal 2018

Followers: 0   Following: 0

Statistica

  • Knowledgeable Level 2
  • First Answer

Visualizza badge

Feeds

Visto da

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

circa 6 anni fa | 0

| accettato

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

circa 6 anni fa | 1

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

circa 6 anni fa | 0

Risposto
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);

circa 6 anni fa | 0

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

circa 6 anni fa | 0

| accettato

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

circa 6 anni fa | 0

| accettato

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

circa 6 anni fa | 0

Risposto
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); ...

circa 6 anni fa | 0

| accettato

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

circa 6 anni fa | 0

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

circa 6 anni fa | 0

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

circa 6 anni fa | 1

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

circa 6 anni fa | 0

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

circa 6 anni fa | 0

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

circa 6 anni fa | 1

| accettato

Domanda


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

circa 6 anni fa | 0 risposte | 0

0

risposte