Question


1 how to extract cols and rows from a matrix,2,how to find a value the vector close to ,
data size is MxN ,assume only one nan in data i need remaining part of data , if true [nanrows,nancols]=find(isnan(...

9 years ago | 2 answers | 0

2

answers

Answered
how to compare 2 vectors with same size , but columns is not always the same
i got it , if true training = rand(rownum,n); origpoint= [a1,a2,...,an]; for i = 1:rownum Qzone(i,:)=traini...

9 years ago | 0

| accepted

Question


how to compare 2 vectors with same size , but columns is not always the same
foreach element if a> b, set to 1;if a<=b ,0 if true training = rand(rownum,n); origpoint= [a1,a2]; for i = 1:rownum...

9 years ago | 1 answer | 0

1

answer

Question


do gaussian filtering to an image ,but it shows dark
L00 ,L01 can show ,but L02,L03.L04 seems dark,what's wrong? function sift_01() clear; %contruct scale space I = ...

9 years ago | 1 answer | 0

1

answer

Question


dlmread and textread , which to choose when reading lots of .txt files storing numeric data ?
as the question above ,which is faster ,which is the best choice ?

10 years ago | 1 answer | 0

1

answer

Question


sort elements in a cell , they are all txt file names?
files ={'200802291600.1.txt'; '200803011600.1.txt'; '200803021600.1.txt'; '200803031600.1.txt'; '200803041600.1.txt'; ...

10 years ago | 1 answer | 0

1

answer

Question


about addtodate function using?
datevec(addtodate(datenum(['1/1/2008']),102,'day')) ans= 2008 4 12 0 0 date...

10 years ago | 1 answer | 0

1

answer

Question


how to judge some bytes is or not a-z,A-Z?
i read some files using fread ,then some bytes display like blank , but there is sth.,i want to delete these special chars ,how...

10 years ago | 1 answer | 0

1

answer

Question


how to divide a string by every 8 chars?
str = 'sdkidkfl dkfke dkdke dka dkela32566 dsa321434 -6=0df3 302kd903kdl' then divide it , How to make it ?

10 years ago | 1 answer | 0

1

answer

Question


for a vector, every four data get an average ,then put them into a new vector , its length will be the old's one fourth,how to make it quickly
sometimes it may get average every 5 nums, it will be better to create a function

10 years ago | 1 answer | 0

1

answer

Question


how to write a struct to a .xls or txt file
station = struct(... 'name', {'CD2', 'GYA', 'GOM', 'XAN', 'LZH','KMI', 'LSA','MDJ','WMQ','CNS', 'GUL', 'GZH...

10 years ago | 1 answer | 0

1

answer

Question


how to make yticklabel show like this , exponent not like 4x10{6} or 3e4
<</matlabcentral/answers/uploaded_files/10180/e.bmp>>

10 years ago | 3 answers | 0

3

answers

Answered
how to make yticklabel show like this , exponent not like 4x10{6} or 3e4
it shows like this <</matlabcentral/answers/uploaded_files/10193/ee.bmp>>

10 years ago | 0

Question


subplot,it can not show the line's name in plot broswer
it works well when not using subplot ,| |why? how to handle it| | <</matlabcentral/answers/uploaded_files/10179/dd.png>>

10 years ago | 1 answer | 0

1

answer

Question


how to get what i want from one .wav file
i have 2 .wav format files,s1.wav is combined two sounds ,s2.wav is just the one of it ,how to get the rest of s1 when filterrin...

10 years ago | 1 answer | 0

1

answer

Answered
HI HOW TO GENERATE A DOT MATRIX WITH ONES AND ZEROS?
A=ones(8); for i=1:4 A(2*i,:)=zeros(1,8); end or A(2:2:8,:)=zeros(1,8);

10 years ago | 0

Question


how to catch a matrix to a cell
if true s={'CD2','GYA','LZH','GOM','XAN'}; p=[234 44 56 33 67]; end i want get a cell like this s={'CD2:234','GYA:44...

10 years ago | 1 answer | 0

1

answer

Question


struct and cell ,is there a way like dictionary in struct
if true end station = struct(... 'name', {'CD2','GYA','LZH','GOM','XAN'},... 'Jingdu',{103.76 ,106.66,103.84,94.81,108.92}...

10 years ago | 2 answers | 0

2

answers

Answered
struct and cell ,is there a way like dictionary in struct
is there a way like dictionary in struct

10 years ago | 0

Question


how to get the first 3 characters of each element in a cell to another cell
filename={'CD2.2008052716-17hZCFPF.GY.txt', 'GOM.2008052716-17hZCFPF.GY.txt','GYA.2008052716-17hZCFPF.GY.txt'} then I want ...

10 years ago | 3 answers | 0

3

answers

Question


about import .txt file,how to change special character in its name
like Chande.2008052716-17hZCFPF.GY.txt after importing , then the variable name change to Chande_2008052716_17hZCFPF_GY, how ...

10 years ago | 2 answers | 0

2

answers

Question


i have a coloum data, how to normalize it in Source Scanning Algorithm
how to set the column data to a range of 0-1; what is the first step,get absolute value or normalize?

10 years ago | 2 answers | 0

2

answers

Question


plot tools:add data color
the default color is blue,but i want to make the color of the data added black,so how to make it? <</matlabcentral/answers/...

10 years ago | 2 answers | 0

2

answers

Question


how to delete the dot in a string
like bbc.ed.123.f.txt how to change it to bbced123f.txt

10 years ago | 2 answers | 0

2

answers

Question


about plottools,for add data function ,the variables in GUI is not visable
| | *i made a GUI to import some data into variables,but when i use the Add Data function ,these variables imported from GUI is ...

10 years ago | 1 answer | 0

1

answer

Question


how to accomplish the adddata function in plottools ?
red line part <</matlabcentral/answers/uploaded_files/7096/33.png>>

10 years ago | 2 answers | 0

2

answers

Question


CLICK TO REPLOT THE CHILD ,HOW TO DO
how to open a new figure only plotting itself when clicking children? click on d1,then open a new figure of d1, how to make ...

10 years ago | 1 answer | 0

1

answer

Question


wrcoef('type',C,L,'wname',N) When 'type' = 'd', is N allowed to be 0???
When 'type' = 'a', N is allowed to be 0; when ‘type'='d' ,N ??

10 years ago | 1 answer | 0

1

answer

Question


how to set the subplot label
how to delete the x10e4 at the end of the xaxis <</matlabcentral/answers/uploaded_files/6044/ze.png>> clc;close all;...

10 years ago | 1 answer | 0

1

answer