Question

Delete a row in a structure that contains a certain word

Hi, I have a 1×5897 struct array with fields. How do I delete the entire rows that contain the letters 'AA'.

7 months ago | 1 answer | 0

Question

Filter a cell array with words

Hi, assume you have the cell array{1,1} with a text called "XXXX-adsaads". I want the the portion -adsaads to be removed so tha...

7 months ago | 1 answer | 0

Question

Removing adjacent duplicate numbers in rows of a matrix

Hi, assume the following matrix format: xx=[1 2 3 3 4 4; 1 1 2 2 3 3 ; 5 5 5 3 3 2] I want to remove the adjacent duplicate n...

8 months ago | 2 answers | 0

Question

saving all figures as jpeg file on harddrive

Hi, i got a loop and it creates many figures (figure 1, figure 2 and so on). I want to save all as jpeg file on my harddrive. A...

2 years ago | 1 answer | 0

Question

creating several bar charts with standard deviation

Hi, suppose you got x=mean1, mean2, mean3, mean4 stdx=eror1,error2,error3, error4 y=mean1, mean2, mean3, mean4 stdy=error1...

2 years ago | 1 answer | 0

Question

Converting a timetable to a matrix

Consider the following table TimeStamp X1 X2 X3 X4 ____________________ ___...

2 years ago | 2 answers | 0

Question

convert matrix into matrix with a repetitive pattern

Consider the following matrix. 234 235 236 237 238 239 I want to convert it into the ...

2 years ago | 1 answer | 0

Question

Create a matrix with a repetitive pattern

Hi, consider the following matrix. 234 235 236 237 238 239 I wa...

2 years ago | 1 answer | 0

Question

Creating a table with missing endpoints

Hi, consider the matrix below: 732315 108 1.9193000 1.9193000 1.9193000 1.9193000 732315 113 1.9193000 1.9193000 1...

2 years ago | 1 answer | 0

Question

How to fill a data table with gaps

Hi, I have got this data table with the following values: As you can see from the table below that there are gaps in the seco...

2 years ago | 1 answer | 0

Question

if option with weekend and date serial number

I have a date serial number x. If the number is a weekend then x+3, if the number is not a weekend then x +1. how can i put this...

2 years ago | 1 answer | 0

Question

denoting vertical lines with numbers

VLX = repmat(xy(60:60:end), 2, 1); % Vertical Line ‘x’ Locations VLY = repmat(ylim, 24, 1)'; ...

2 years ago | 1 answer | 0

Question

Running a script in a repeated time interval

I have a matlab file which i saved as sos.m. I run this script by clicking the run button in the matlab program. My question is ...

2 years ago | 2 answers | 0

Question

finding the 10 biggest values in a cell array

I have a cell array 10x10 that consists of of several matrices (1000x1) with integers. I want to find the 10 biggest integers in...

2 years ago | 2 answers | 0

Question

filtering out two months with a code

dateless = Dates(nomatch); datelike = Dates(~nomatch); dateliketime=datetime(datelike); liatime=dateliketime.Month ==...

2 years ago | 2 answers | 0

Question

filtering problem of dates

circa1 = xlsread(fileToRead); [numOnly, textOnly, rawDataInCellArray] = xlsread(fileToRead); Dates=textOnly(~cellfu...

2 years ago | 1 answer | 0

Question

zoom in function figure

hi, my code shows me 10 different figures and for each figure I have to zoom in. This is very time consuming. Can I display the...

2 years ago | 1 answer | 0

Question

displaying date as title of figure

hi, i want to display a date as title of a figure. caption = sprintf(' %.3f', datestr(q{:,1}(1,1))); This q cell array c...

2 years ago | 2 answers | 0

Question

import time into matrix and display as minutes after midnight

hi guys, I have imported an excel file into matlab. 10:00 is displayed as 0.416666666666667. I want to display this as minutes ...

2 years ago | 1 answer | 0

Question

Plot vertical lines in a figure with a certain distance

Hi, I would like to plot vertical dotted lines on a figure. These should be placed after every 60 units on the x axis.

2 years ago | 1 answer | 0

Question

changing minutes after midnight into a datetime array

Suppose you have the matrix minutesaftermid which contains integers that represent the minutes after midnight, e.g. 1,2,3,4,5,6,...

2 years ago | 3 answers | 0

Question

Finding the row number with two conditions in a matrix

outData=[733458 91 1.01510000000000 1.01680000000000 1.01490000000000 1.01520000000000 1.01585000000000 733458 112 1.01...

2 years ago | 2 answers | 0

Answered

displaying multiple graphs from x number of matrices

i solved it. i just need to put figure in the loop

displaying multiple graphs from x number of matrices

i solved it. i just need to put figure in the loop

2 years ago | 0

| accepted

Question

displaying multiple graphs from x number of matrices

Hi, I want to display multiple graphs according to what is in cell X. If cell K has x number of matrices then those x number of...

2 years ago | 1 answer | 0

Question

Filtering dates from matrix

I have got a cell array with 'out' 1x1 which has a matrix with one million rows and 6colummns. First row contains date serial nu...

2 years ago | 1 answer | 0

Question

Long time to load 40 gig file

Hi, I have a gaming laptop which I recently bought for 4000€. Massive CPU and lots of ram. However when I want to load a 30 gig...

2 years ago | 2 answers | 0

Question

plotting live data in matlab

hi, i get data imported every minute via excel. I want to plot this data as realtime in a graph so it gets updates automaticall...

2 years ago | 0 answers | 1

Question

drawing two different graphs on the same figure

I want to draw two plots on the same graph. The first graph has 1279 rows which are dislayed in the graph in the following manne...

2 years ago | 1 answer | 0

Answered

plotting a figure with specific x axis

it doesnt work, it draws something in another figure which is already opened. i need it to be drawn into a new figure

plotting a figure with specific x axis

it doesnt work, it draws something in another figure which is already opened. i need it to be drawn into a new figure

2 years ago | 0

| accepted