Question

Finding change in a large dataset

Hello everyone, I have a data file (1288753x1) as shown above (data attached) I am trying to find the y value at the red ci...

casi 3 años ago | 2 answers | 0

Answered

How to know which radio button is selected in a radio button group in app designer of Matlab 2018a?

" no other radio button has the property 'value' " Every radiobutton has the property Value. In this case app.RightButton.Va...

How to know which radio button is selected in a radio button group in app designer of Matlab 2018a?

" no other radio button has the property 'value' " Every radiobutton has the property Value. In this case app.RightButton.Va...

casi 3 años ago | 0

| accepted

Answered

comparison of vectors and reducing size

doc interp1 use linear interpolation, to upsample or downsample the vector to any length required A = rand(299,1); B = rand(4...

comparison of vectors and reducing size

doc interp1 use linear interpolation, to upsample or downsample the vector to any length required A = rand(299,1); B = rand(4...

casi 3 años ago | 1

Answered

How to make scatter plot graphs ?

doc scatter use hold on if you want to plot 3 datasets in a single plot.

How to make scatter plot graphs ?

doc scatter use hold on if you want to plot 3 datasets in a single plot.

casi 3 años ago | 0

| accepted

Answered

Problem with Matlab gui quitting

Try this: write countdown(app) instead of app.countdown in startupFcn.

Problem with Matlab gui quitting

Try this: write countdown(app) instead of app.countdown in startupFcn.

casi 3 años ago | 0

Answered

How to cut the signal at particular time or tol value ??

load signal load t S = signal(1,:); tol = 0.5/2310; plot(t,S); [minDistance, indexOfMin] = min(abs(tol-t)); newt = t(1:ind...

How to cut the signal at particular time or tol value ??

load signal load t S = signal(1,:); tol = 0.5/2310; plot(t,S); [minDistance, indexOfMin] = min(abs(tol-t)); newt = t(1:ind...

casi 3 años ago | 1

| accepted

Answered

App designer - How To Re-Run an app

close all deletes all the variables in the workspace, making the previously stored attributes inaccessible. Try commenting out ...

App designer - How To Re-Run an app

close all deletes all the variables in the workspace, making the previously stored attributes inaccessible. Try commenting out ...

casi 3 años ago | 0

Answered

Bubble sort for loop

First try to understand the sorting algorithm. There are many videos on youtube that explains bubble sort. Your data being x....

Bubble sort for loop

First try to understand the sorting algorithm. There are many videos on youtube that explains bubble sort. Your data being x....

casi 3 años ago | 2

| accepted

Answered

Send plots from matlab script to UIAxes in Appdesigner

Try to create an axes in app designer using uiaxes. example: ax = uiaxes(....) Then, when plotting pass this ax as first parame...

Send plots from matlab script to UIAxes in Appdesigner

Try to create an axes in app designer using uiaxes. example: ax = uiaxes(....) Then, when plotting pass this ax as first parame...

casi 3 años ago | 0

| accepted

Answered

what Is the proper way to send data from App Designer to functions in the regular work space?

doc assignin

what Is the proper way to send data from App Designer to functions in the regular work space?

doc assignin

casi 3 años ago | 0

Answered

build an array within the loop

You are not creating Th3 array but overwriting it everytime. Try this for i=0:360 d =3.5; a = 1;b = 2; c = 4; Th1= 0; Z = ...

build an array within the loop

You are not creating Th3 array but overwriting it everytime. Try this for i=0:360 d =3.5; a = 1;b = 2; c = 4; Th1= 0; Z = ...

casi 3 años ago | 1

Answered

How to add a datetime array to addpoints for an animated line plot?

Try this: Convert the datetime values to numbers using datenum. Fetch these datenum values as x parameter to addpoints. While...

How to add a datetime array to addpoints for an animated line plot?

Try this: Convert the datetime values to numbers using datenum. Fetch these datenum values as x parameter to addpoints. While...

casi 3 años ago | 1

Question

Figure menu workaround in matlab standalone application

Hello everyone. I have created an app(which plots some variables) using app designer and packaged it as a standalone app and in...

casi 3 años ago | 0 answers | 0

Answered

How to open a image in App Designer

Use callbacks. When you click open button, write code in OpenButtonCallback to open the image and display on the left side of I...

How to open a image in App Designer

Use callbacks. When you click open button, write code in OpenButtonCallback to open the image and display on the left side of I...

casi 3 años ago | 0

| accepted

Answered

importdata not reading time stamp from excel sheet accurately

The default date for excel is 1899/12/30_00:00:00. So you have to add this to the date number to get the correct date. Try this...

importdata not reading time stamp from excel sheet accurately

The default date for excel is 1899/12/30_00:00:00. So you have to add this to the date number to get the correct date. Try this...

casi 3 años ago | 0

| accepted

Answered

Splitting one column into multiple arrays

z=xlsread('data.csv'); ids = unique(z(:,1),'stable'); houses = cell(length(ids),1); house = struct(); for i = 1 : length(i...

Splitting one column into multiple arrays

z=xlsread('data.csv'); ids = unique(z(:,1),'stable'); houses = cell(length(ids),1); house = struct(); for i = 1 : length(i...

casi 3 años ago | 0

| accepted

Answered

how to plot two signal before convolve?

t1 = linspace(0, 1); for i=1:length(t1) if (0<t1(i)) && (t1(i)<1) x1(i) = 1; else x1(i) = 0; e...

how to plot two signal before convolve?

t1 = linspace(0, 1); for i=1:length(t1) if (0<t1(i)) && (t1(i)<1) x1(i) = 1; else x1(i) = 0; e...

casi 3 años ago | 0

Answered

how to determine index number and equate to x and y?

index_10s = find(A==10);

how to determine index number and equate to x and y?

index_10s = find(A==10);

casi 3 años ago | 0

Answered

converting 1 hourly data to 3 hourly data

data = xlsread('www3'); data = data(:,2); j=1; try for i = 1: fix(length(data)) newdata(i) = mean(data(j:j+2));...

converting 1 hourly data to 3 hourly data

data = xlsread('www3'); data = data(:,2); j=1; try for i = 1: fix(length(data)) newdata(i) = mean(data(j:j+2));...

casi 3 años ago | 0

Answered

How do you erase rows from matrix based on specific values in the row using loop control?

doc find. x1=1; x2=1; for i = 1:length(J) if find(J(i,:)==77) matrix1(x1,:)=J(i,:); x1=x1+1; else...

How do you erase rows from matrix based on specific values in the row using loop control?

doc find. x1=1; x2=1; for i = 1:length(J) if find(J(i,:)==77) matrix1(x1,:)=J(i,:); x1=x1+1; else...

casi 3 años ago | 0

Answered

How to take monthly flow data and obtain annual max flow values

Your data being X, data = X(:,2); yearly_max = zeros(length(data)/12,1); j=1; for i=1:length(data)/12 yearly_max(i)=max...

How to take monthly flow data and obtain annual max flow values

Your data being X, data = X(:,2); yearly_max = zeros(length(data)/12,1); j=1; for i=1:length(data)/12 yearly_max(i)=max...

casi 3 años ago | 0

Question

Upsampling the data using interpolation gives NaN values.

Hello everyone, I have the data of size 2173x1. I want to increase the number of samples to length of 2225570x1 using interpola...

casi 3 años ago | 1 answer | 0

Question

Moving average filter for large dataset

Hello everyone. I have a large dataset with for eg. 3500 Hz (i.e 3500 samples every second) for lets say 10 minutes. so in tota...

casi 3 años ago | 1 answer | 0