Error unexpected MATLAB expression with min()

This is the program i wrote:
where new_x_PIRAM is a vector (1*251) ,But there is that an error 'unexpected Matlab expression that appears
Can u tell me how to correct it?

 채택된 답변

Star Strider
Star Strider 2019년 4월 27일

1 개 추천

You’re missing a comma.
Try this:
pc = min(pa, pb);

추가 답변 (1개)

dorra boukari
dorra boukari 2019년 4월 27일

0 개 추천

Thanks !! It works :)

카테고리

도움말 센터File Exchange에서 Mathematics에 대해 자세히 알아보기

질문:

2019년 4월 27일

댓글:

2019년 4월 27일

Community Treasure Hunt

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

Start Hunting!

Translated by