Feeds
提问
How can I count the number of elements of a given value in a matrix?
I have a matrix such as. 44.147231 ; 24.358619 44.461415 ; 24.118248 44.258173 ; 23.185014 43.166729 ; 24.100443...
9 years 前 | 4 个回答 | 0
4
个回答提问
How to merge data in mat file?
I have a mat file 'pot1.mat'. In the mat file, some rows has no data like this image. <</matlabcentral/answers/uploaded_fi...
10 years 前 | 0 个回答 | 0
0
个回答提问
How to change the loop 'for' to 'while'?
I have cord and files. File names are {trj.hst.01.+00, trj.hst.02.+00, trj.hst.03.+00, ...} And the cord is for c=1:3...
10 years 前 | 1 个回答 | 0
1
个回答提问
How do I compare similar string?
I have two types of string. # Democratic Republic of the Congo # Congo (Dem. Rep.) I want to save the string in the colum...
10 years 前 | 1 个回答 | 0
1
个回答提问
How to save no variable
This is my code. Lat = 30; Lon = 12; base_url =[ 'http://maps.googleapis.com/maps/api/geocode/json']; formatSpec = '%4...
10 years 前 | 1 个回答 | 0
1
个回答提问
read part of string
I have mat file like 'name.mat' name(1,1) = Italy name(2,1) = Rome, Italy And I want to get 'Rome'. I do not know th...
10 years 前 | 2 个回答 | 0
2
个回答提问
get name in struct type
Hi. I want to get country and locality name using coordinate(latitude & longitude) %% Lat = 48.858370; Lon = 2.294481;...
10 years 前 | 1 个回答 | 0
1
个回答提问
how to make a matlab function?
<</matlabcentral/answers/uploaded_files/9065/321.JPG>> I have a simulink model like this. First, second constant's name ...
10 years 前 | 0 个回答 | 0
0
个回答提问
How do i solve this situation?
I have list of file like this. trj.hst.00.+00 trj.hst.01.+00 trj.hst.02.+00 trj.hst.03.+00 ... So, I want to u...
11 years 前 | 2 个回答 | 0
2
个回答提问
multiple text file using 'for'
I have multiple files. The form of file is 'risk_hmr.p#'. # is 01-11. So, I want to work using 'for' . for k=1:9 st...
11 years 前 | 1 个回答 | 0
1
个回答提问
Using a function strncmp
I have a Text file. And I want to ignore if the first character of the line begins with #. Also if it begins without # ,...
11 years 前 | 1 个回答 | 0
1
个回答提问
extract a number from text file
There are contents of a text file , which take the following form. --------- # unique survivor object: RWL ...
11 years 前 | 3 个回答 | 0