photo

Siyu Guo


Aktiv seit 2018

Followers: 0   Following: 0

Statistik

  • Knowledgeable Level 2
  • First Answer

Abzeichen anzeigen

Feeds

Anzeigen nach

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

mehr als 6 Jahre vor | 0

| akzeptiert

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

mehr als 6 Jahre vor | 1

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

mehr als 6 Jahre vor | 0

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

mehr als 6 Jahre vor | 0

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

mehr als 6 Jahre vor | 0

| akzeptiert

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

mehr als 6 Jahre vor | 0

| akzeptiert

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

mehr als 6 Jahre vor | 0

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

mehr als 6 Jahre vor | 0

| akzeptiert

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

mehr als 6 Jahre vor | 0

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

mehr als 6 Jahre vor | 0

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

mehr als 6 Jahre vor | 1

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

mehr als 6 Jahre vor | 0

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

mehr als 6 Jahre vor | 0

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

mehr als 6 Jahre vor | 1

| akzeptiert

Frage


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

mehr als 6 Jahre vor | 0 Antworten | 0

0

Antworten