How to plot graph from mat file?
이전 댓글 표시
Hi everyone, I face a difficulty in plotting graph from mat file. I want to get the graph from the mat file but the graph did not pop out and get the result in command window as shown in the figure 1 below.

Figure 1
The figure 2 below is the setting for the code.

Anyone can help me? Thanks. This is the code I am using:
clc;
clear all;
close all;
s = load('lai3.mat');
plot(transpose(s.val))
댓글 수: 1
Steven Lord
2020년 3월 25일
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Startup and Shutdown에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!