필터 지우기
필터 지우기

What's the problem?

조회 수: 2 (최근 30일)
Augusto Borges Resende
Augusto Borges Resende 2017년 10월 29일
댓글: John D'Errico 2017년 10월 29일
a = [1 2 3; 4 5 6; 7 8 9] * [0 1 0];
  댓글 수: 2
Cedric
Cedric 2017년 10월 29일
Precisely, what is the problem?
If it isn't the single quote that should be a ' instead of a , you will have to copy-paste the complete error message.
John D'Errico
John D'Errico 2017년 10월 29일
I have seen my computer sometimes want to swap a standard quote, in fact, do it without my ok. To fix that, I had to disable smart quotes.

댓글을 달려면 로그인하십시오.

채택된 답변

John D'Errico
John D'Errico 2017년 10월 29일
It works fine, IF you use a valid character for '
a = [1 2 3; 4 5 6; 7 8 9] * [0 1 0]'
a =
2
5
8
The character you used for transpose was:
+'’'
ans =
8217
But the valid transpose operator has ascii code:
+''''
ans =
39

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Argument Definitions에 대해 자세히 알아보기

태그

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by