Info
La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.
urgent help please :::::( how can ı solve this ?
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/158143/image.bmp)
mu=[1 1]';
p=0;
sigma=[1 2*p;2*p 4];
x= mu+sigma.*randn(1000,2);
this code gives me inner product error.
2 comentarios
Walter Roberson
el 18 de Mzo. de 2016
Duplicates http://www.mathworks.com/matlabcentral/answers/274134-urgent-i-can-not-fix-this-error-error-using-inner-matrix-dimensions-must-agree-on-this-co . Please discuss the question there, not here.
Adam
el 18 de Mzo. de 2016
Putting "urgent" in a question title is more likely to just irritate people than persuade them to answer your question quickly. Everyone's work is urgent to themselves and not to anyone else. People will help if and when they can, irrespective of how urgent something is.
Respuestas (2)
Guillaume
el 18 de Mzo. de 2016
Editada: Guillaume
el 18 de Mzo. de 2016
- You need to be aware of the difference between element-wise multiplication and matrix multiplication
- Note the presence of i in the formula of the transformation. It is significant. To make x, you're either going to have to use a loop or bsxfun with some reshaping (with permute) of y.
0 comentarios
La pregunta está cerrada.
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!