已回答
Please i need help, i encountered the error saying In an assignment A(I) = B, the number of elements in B and I must be the same. Please a matlab expert should correct and ddebug thanks.
Greetings When I test your code, I do not get the same errors. It could be that I had to guess where to place the end stateme...

5 years 前 | 1

| 已接受

已回答
Wait for complete file transfer before running while loop
Greetings, I am by no means an expert in programming but I had an idea that might be a good workaround. Let's say you don't t...

5 years 前 | 0

已回答
The maximum value assumed by the function on the interval
Greetings, I wrote an example for you which finds the maximum value of f(x) over the specified interval and plots the resuts....

5 years 前 | 1

已回答
Adding columns in a cell
Greetings, I believe I understand what you are looking for so I wrote a script which I think will solve your problem. All you...

5 years 前 | 0

| 已接受

已回答
Index exceeds array bounds. Error in PID_optimized (line 14) gc = tf(K(i)*([1 2*a(j) a(j)^2]),[1 0]); %controller transfer fx Gc
Greetings, I believe your problem is on line 10 of your code. On line 10, you redefine K as a single value rather than a vect...

5 years 前 | 0

| 已接受

已回答
Error showing as "index exceeds the number of array elements (3)"
Greetings, Without knowing what you are trying to accomplish with your code, I couldn't really begin to fix it for you but I ...

5 years 前 | 0

| 已接受

已回答
How do I align two vectors similar to that done in plot?
Greetings, I think I understand what you are after. I used your example data and wrote a script that creates a list of unique...

5 years 前 | 0

| 已接受

已回答
import loop for a files in a folder
Greetings, I am not quite sure what you have going on in this code: b = 55; for i=1:b [pixel, I(:,i)] = textread (['cell...

5 years 前 | 0

| 已接受

已回答
Need help creating a graph
Greetings, I think I can help you out. I wrote the following code which I thik will produce the plot that you are after: %A...

5 years 前 | 1

已回答
How to create a fractional factorial design?
Greetings, I ran your code: gen = fracfactgen('a b c d e f',4,4) [design, con] = fracfact(gen) And, based on the outpu...

5 years 前 | 0

| 已接受

已回答
Making the variable zero before going to the called function
Greetings, I think I understand what your problem is and I think I may have a solution for you. Perhaps you should use a diff...

5 years 前 | 0

已回答
Possible workaround for non-integer indices
Greetings, I thik, at least your problem with using the iterator variable to generate a complex number is that you are using ...

5 years 前 | 0

已回答
find the column that most similar uniform random matrix 138 X 10000 and calculate the number that occurs and shows the column which occurred of this calculated
Greetings, I am not sure that I fully understand your question but I think you are wanting to find the column of a matrix of ...

5 years 前 | 0

已回答
How to generate signals for a Simulink's transfer function block in Matlab?
Greetings, I believe I have a solution to your problem. First, in line 2 of your sample code, I believe there is a type as co...

5 years 前 | 0

| 已接受