Clear Filters
Clear Filters

How to plot a graph for this program? and we are facing issue with the below attached file.

1 view (last 30 days)
clc; clear all; close all; A1=load('E:\s07.mat); x=1:8064; labels_1=a1.labels; data_1=a1.data; y1=data_1(1,39,:); plot(x,y1);
We are trying to plot a data with more than 2 dimensions but matlab fails to display it.tell me how to plot a data with 1x1x8064 format

Answers (1)

MSA
MSA on 26 Feb 2021
Edited: MSA on 26 Feb 2021
I am not sure what you are trying to plot. But, you can try in the following way:
plot(x,y1(1,1,value)) % Here, Substitute value with any numbers between 1 to 8064

Categories

Find more on Line Plots in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!