統計
All
Feeds
回答済み
Fast move in datastore (TabularTextDatastore)
If where you want to seek to in the datastore is approximate, there may be a way to do this using PARTITION: % divide the d...
Fast move in datastore (TabularTextDatastore)
If where you want to seek to in the datastore is approximate, there may be a way to do this using PARTITION: % divide the d...
7年弱 前 | 2
回答済み
Large data file with mixed character strings and numerical formats
You could use datastore to select the columns and read only those columns in. ds = datastore('filepath',...); ds.Selecte...
Large data file with mixed character strings and numerical formats
You could use datastore to select the columns and read only those columns in. ds = datastore('filepath',...); ds.Selecte...
7年以上 前 | 1
回答済み
Combining and reading data from Excel (.xlsx) into Matlab
I believe the simplest way you can achieve this is with <https://www.mathworks.com/help/matlab/ref/spreadsheetdatastore.html spr...
Combining and reading data from Excel (.xlsx) into Matlab
I believe the simplest way you can achieve this is with <https://www.mathworks.com/help/matlab/ref/spreadsheetdatastore.html spr...
7年以上 前 | 1
回答済み
new 'Spreadsheet data store'. Not working ?
I would try setting raw.NumHeaderLines = 1; to skip that header row. If there are more, I would tweak that variable. ...
new 'Spreadsheet data store'. Not working ?
I would try setting raw.NumHeaderLines = 1; to skip that header row. If there are more, I would tweak that variable. ...
8年以上 前 | 0
回答済み
After using the datastore function, how to change the value in the 'csv' ?
The datastore cannot reflect the changed values because it simply reads the data from the file into a table. If you want to s...
After using the datastore function, how to change the value in the 'csv' ?
The datastore cannot reflect the changed values because it simply reads the data from the file into a table. If you want to s...
9年弱 前 | 1
| 採用済み
回答済み
A error:No public field ReadSize exists for class matlab.io.datastore.TabularTextDatastore.
Hello Hsiang-Sheng, Just a quick question. Are you using MATLAB R2014b? If so, the ReadSize property was added in R2015a and ...
A error:No public field ReadSize exists for class matlab.io.datastore.TabularTextDatastore.
Hello Hsiang-Sheng, Just a quick question. Are you using MATLAB R2014b? If so, the ReadSize property was added in R2015a and ...
約9年 前 | 0
| 採用済み
回答済み
Big data processing, Datastore function
It seems like there is an issue with the data within the file at around row 594000. You could try: while hasdata(ds) ...
Big data processing, Datastore function
It seems like there is an issue with the data within the file at around row 594000. You could try: while hasdata(ds) ...
約9年 前 | 0
回答済み
Datastore SelectedVariableNames property is reset when doing changes to the Files property.
This behaviour is because changing files resets the datastore. You could try changing the SelectedVariables after changing the F...
Datastore SelectedVariableNames property is reset when doing changes to the Files property.
This behaviour is because changing files resets the datastore. You could try changing the SelectedVariables after changing the F...
約9年 前 | 0
回答済み
Access HDFS from Matlab
You do need to install Hadoop on your Windows machine and provide that installation path to MATLAB on the same machine through t...
Access HDFS from Matlab
You do need to install Hadoop on your Windows machine and provide that installation path to MATLAB on the same machine through t...
10年弱 前 | 0
解決済み
Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...
約10年 前
解決済み
Text processing - Help Johnny write a letter home from camp
Johnny overuses the word 'great'. Write a script that will help him with this and future letters. If a sentence contains more ...
約10年 前
回答済み
How can I save the output of display in a string
You can do this with EVALC (http://www.mathworks.com/help/matlab/ref/evalc.html) displaystring = evalc('display(obj)');
How can I save the output of display in a string
You can do this with EVALC (http://www.mathworks.com/help/matlab/ref/evalc.html) displaystring = evalc('display(obj)');
10年以上 前 | 0
| 採用済み
回答済み
How to concatenate variables in different matlab files?
You can do this quite simply: % load initial data filedata = load('file1.mat'); Time = filedata.Time; Force = file...
How to concatenate variables in different matlab files?
You can do this quite simply: % load initial data filedata = load('file1.mat'); Time = filedata.Time; Force = file...
12年弱 前 | 1
回答済み
what's the different of "Ways to Organize Data in Structure Arrays"
Plane organization makes it easier to access particular fields of structures all at once whereas element-by-element makes it eas...
what's the different of "Ways to Organize Data in Structure Arrays"
Plane organization makes it easier to access particular fields of structures all at once whereas element-by-element makes it eas...
約12年 前 | 0
| 採用済み
回答済み
Build matrix from an unknown number of parameters
I think what you're looking for is cells. You can store up all values in a cell as: a = rand(10); b = ones(15); ...
Build matrix from an unknown number of parameters
I think what you're looking for is cells. You can store up all values in a cell as: a = rand(10); b = ones(15); ...
約12年 前 | 1
解決済み
Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...
12年以上 前
回答済み
Problem in image classification
The Stats Toolbox would be useful for this. It has a function called CLASSIFY. You must however know which segmented part is whi...
Problem in image classification
The Stats Toolbox would be useful for this. It has a function called CLASSIFY. You must however know which segmented part is whi...
12年以上 前 | 0
回答済み
problem using variables solving trigonometric equation with "solve('...')
It may be better to define 'a' as a symbolic variable and not a double. syms x; a = sym('1'); f = sin(x) -x + a; myVal...
problem using variables solving trigonometric equation with "solve('...')
It may be better to define 'a' as a symbolic variable and not a double. syms x; a = sym('1'); f = sin(x) -x + a; myVal...
12年以上 前 | 0
回答済み
interpolation
If you want to find the error between the two, you might be better of finding a model to predict this 'data' and then use Statis...
interpolation
If you want to find the error between the two, you might be better of finding a model to predict this 'data' and then use Statis...
12年以上 前 | 0
回答済み
interpolation
This is an easy one. Let's say you have non-uniformly sampled data t, x, y. You want to find uniformly distributed values fo...
interpolation
This is an easy one. Let's say you have non-uniformly sampled data t, x, y. You want to find uniformly distributed values fo...
12年以上 前 | 0
回答済み
plotting second y axis with pcolor command
You can do this by creating another axis on top of the existing one in the same position. You can then play with transparencies....
plotting second y axis with pcolor command
You can do this by creating another axis on top of the existing one in the same position. You can then play with transparencies....
12年以上 前 | 1
| 採用済み
回答済み
How to rotate an image using interpolation?
The idea is to find out the mapping of each pixel in the rotated image w.r.t the original image. Instead of saying (1, 1) in the...
How to rotate an image using interpolation?
The idea is to find out the mapping of each pixel in the rotated image w.r.t the original image. Instead of saying (1, 1) in the...
12年以上 前 | 2
回答済み
How to change camera view with respect to the current axes coordinate system
When you have a plot on a figure, you may change your viewpoint quite easily. % get the current viewpoint viewPt = get(g...
How to change camera view with respect to the current axes coordinate system
When you have a plot on a figure, you may change your viewpoint quite easily. % get the current viewpoint viewPt = get(g...
12年以上 前 | 0
回答済み
Select variables for plot
The short answer is writing code like this is bad practice when it comes to changing it later and may bring many other problems....
Select variables for plot
The short answer is writing code like this is bad practice when it comes to changing it later and may bring many other problems....
12年以上 前 | 0
| 採用済み
回答済み
Minimun of x and y
The easiest way to solve this problem is by using FMINSEARCH. You want to find the minimum of f(x) where f(x) = (abs(x(1)-1) ...
Minimun of x and y
The easiest way to solve this problem is by using FMINSEARCH. You want to find the minimum of f(x) where f(x) = (abs(x(1)-1) ...
12年以上 前 | 0
回答済み
segmenting an image into number of equal size images
One way to do this is to decide on a metric to segment the image into. Also, the method I am writing is general and the resultin...
segmenting an image into number of equal size images
One way to do this is to decide on a metric to segment the image into. Also, the method I am writing is general and the resultin...
12年以上 前 | 0
回答済み
brain computer interface
In general, you may be able to solve such problems by Classification. You may extract some features from your dataset, in your c...
brain computer interface
In general, you may be able to solve such problems by Classification. You may extract some features from your dataset, in your c...
12年以上 前 | 0
回答済み
Need to make a 4D plot (3D + Colour)
I think you may be able to use SURF to get the 3-D data, (use interpolated 't', 'y', 'f', by using TriScatteredInterp) in SURF a...
Need to make a 4D plot (3D + Colour)
I think you may be able to use SURF to get the 3-D data, (use interpolated 't', 'y', 'f', by using TriScatteredInterp) in SURF a...
12年以上 前 | 0