Borrar filtros
Borrar filtros

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

1 visualización (últimos 30 días)
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

Respuestas (1)

MSA
MSA el 26 de Feb. de 2021
Editada: MSA el 26 de Feb. de 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

Categorías

Más información sobre 2-D and 3-D Plots en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by