semilogx error, vectors must be same length
조회 수: 2 (최근 30일)
이전 댓글 표시
Hi, I am trying to plot a graph with logarithmic scale with semilogx, however I have encountered problem using it.
I have checked that both Freq' and abs(Zexp01) are 31 by 24, so they are the same size. However I still encounter problem that says vectors must be the same size. May I know how to solve this?
Thank you!
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1247837/image.png)
댓글 수: 0
채택된 답변
추가 답변 (1개)
Sulaymon Eshkabilov
2022년 12월 30일
편집: Sulaymon Eshkabilov
2022년 12월 30일
Plot them like this way then by removing the transpose operation:
plot(freq, abs(Zexp01), '.')
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!