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

oltre 3 anni fa | 1

| accettato

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

oltre 3 anni fa | 0

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

oltre 3 anni fa | 1

Risposto
Greetings, I believe I understand what you are looking for so I wrote a script which I think will solve your problem. All you...

oltre 3 anni fa | 0

| accettato

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

oltre 3 anni fa | 0

| accettato

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

oltre 3 anni fa | 0

| accettato

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

oltre 3 anni fa | 0

| accettato

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

oltre 3 anni fa | 0

| accettato

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

oltre 3 anni fa | 1

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

oltre 3 anni fa | 0

| accettato

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

oltre 3 anni fa | 0

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

oltre 3 anni fa | 0

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

oltre 3 anni fa | 0

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

oltre 3 anni fa | 0

| accettato