Community Profile

photo

Siyu Guo


Con actividad desde 2018

Followers: 0   Following: 0

Estadísticas

  • Knowledgeable Level 2
  • First Answer

Ver insignias

Feeds

Ver por

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

casi 6 años hace | 0

| aceptada

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

casi 6 años hace | 1

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

casi 6 años hace | 0

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

casi 6 años hace | 0

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

casi 6 años hace | 0

| aceptada

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

casi 6 años hace | 0

| aceptada

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

casi 6 años hace | 0

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

casi 6 años hace | 0

| aceptada

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

casi 6 años hace | 0

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

casi 6 años hace | 0

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

casi 6 años hace | 1

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

casi 6 años hace | 0

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

casi 6 años hace | 0

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

casi 6 años hace | 1

| aceptada

Pregunta


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

casi 6 años hace | 0 respuestas | 0

0

respuestas