已回答
What is this block?
Sign->Indicate sign of input. * The output is 1 when the input is greater than zero. * The output is 0 when the input is eq...

10 years 前 | 0

| 已接受

已回答
simple loop option to reduce code
T=0.25; t{1}=-3*T/12:.001:T/12; for r=2:6 t{r} = t{r-1}(end):.001: t{r-1}(end) + T/3; end

10 years 前 | 0

| 已接受

提问


Change a read-only file to writable
Hello everyone, I used 'copyfile' to copy an Excel file to current folder, because the source file is read-only, so the destinat...

10 years 前 | 1 个回答 | 0

1

个回答

已回答
Separating values in cell arrays
Try this a{1}=[2 3]; [row,col] = size(a{1}); for i = 1:col for n = 1:row output{i} = ['1 ',num2str(...

10 years 前 | 2

| 已接受

已回答
how will we convert xls files into mat files please help me
Try this file = dir('*.xl*'); %dir excel filename = file.name; %filename_excel excel_path = [pwd, '\', fil...

10 years 前 | 0

| 已接受