quantitative

Convert angle quantitative data into qualitative images

不羁的心 提交于 2019-12-10 10:36:22
问题 I am a crystallographer trying to analyse crystals orientations from up to 5000 files. Can Matlab convert angle values in a table that look like this: Into a table that looks like this?: 回答1: Here's a more concrete example based on Lakesh's idea. However, this will handle any amount of rotation. First start off with a base circular image with a strip in the middle. Once you do this, simply run a for loop that stacks all of these rotated images in a grid that resembles the angles seen in your

Remove duplicate rows from xts object

泪湿孤枕 提交于 2019-11-28 09:30:52
I am having trouble deleting duplicated rows in an xts object. I have a R script that will download tick financial data of a currency and convert it to an xts object of OHLC format. The script also pulls new data every 15 minutes. The new data is downloaded from the first trade of today to the last recorded trade of today. The old previous data downloaded was stored in .Rdata format and called. Then the new data is added to the old data and it overwrites the old data in .Rdata format. Here is an example of what my data looks like: .Open .High .Low .Close .Volume .Adjusted 2012-01-07 00:00:11 6

Remove duplicate rows from xts object

自古美人都是妖i 提交于 2019-11-27 05:51:40
问题 I am having trouble deleting duplicated rows in an xts object. I have a R script that will download tick financial data of a currency and convert it to an xts object of OHLC format. The script also pulls new data every 15 minutes. The new data is downloaded from the first trade of today to the last recorded trade of today. The old previous data downloaded was stored in .Rdata format and called. Then the new data is added to the old data and it overwrites the old data in .Rdata format. Here is