답변 있음
Saving arrays in a For loop (3D array)
Use a cell array to store your matrices Example for k=1:3 M{k}=rand(randi(10),3) end %To get your matrices M{1...

대략 10년 전 | 0

| 수락됨

답변 있음
exporting table to specific excel sheet
for k=1:3 A=randi(4,4); xlswrite('file.xlsx',A,sprintf('name%d',k)) end

대략 10년 전 | 0

답변 있음
fraction 3d matrix of 3d matrix
a=randi(10,2,108,401); b=reshape(a,2,2,54,401); c=permute(b,[1 2 4 3]);

대략 10년 전 | 0

답변 있음
Finding the standard deviation of a matrix
you can use std function std(a(:)) If you want to use your for loop, you have to correct some errors a=[3 -2 1;4 0...

대략 10년 전 | 0

답변 있음
Transfer data from Simulink by «toWorkspace» to GUI to plot in a graph in the GUI ??
You can save your data using to file block <http://www.mathworks.com/help/simulink/slref/tofile.html> then use load command to ...

대략 10년 전 | 0

답변 있음
Hi everyone, I want to know the name of the toolbox to be used to extract the MFCC my audio
Have you searched in the internet? you can type on google search mfcc matlab you will get what you want

대략 10년 전 | 0

답변 있음
How can you force writetable() to clear an existing excel file and rewrite it with the same file name and with new data?
Delete the file !del file.xlsx %or rename it

대략 10년 전 | 0

답변 있음
generate a image of a line
A=ones(256); A(1:10:end,:)=0 imshow(A)

대략 10년 전 | 0

| 수락됨

답변 있음
How to import data from .txt file?
Spill1 = importdata('Spill.txt'); Spill=Spill1.data T = Spill(:,1); C = Spill(:,2); plot(T,C) xlabel('Time / Days'); yla...

대략 10년 전 | 4

| 수락됨

답변 있음
how can I eliminate coloum with mean largest than a certain value?
largest_value=50 idx=mean(A)>largest_value A(:,idx)=[]

대략 10년 전 | 0

답변 있음
How to remove one x axis from 2 subplot
h=findobj(gcf,'type','line') set(h(2),'xticklabel','')

대략 10년 전 | 1

답변 있음
Using fft on ecg data?
Use csvread <http://www.mathworks.com/help/matlab/ref/csvread.html> or xlsread <http://www.mathworks.com/help/matlab/ref/xlsre...

대략 10년 전 | 0

답변 있음
Undefined function 'regress' for input arguments of type 'double'. Issue
Check if you have statistics toolbox

대략 10년 전 | 0

| 수락됨

답변 있음
What is difference between min and min(min) ?
Just try it you will understand A=[1 2 3;4 5 6] m=min(A) % give the minimimum of each column n=min(min(A)) % is the mi...

대략 10년 전 | 2

답변 있음
How to add a value to a row vector x number of times in a loop to get an array of iterations
A = [-100 -200 -150 -50] B = [10 20 15 5] r=bsxfun(@times,B,(0:2)') out=bsxfun(@plus,r,A)

대략 10년 전 | 0

| 수락됨

답변 있음
Write one year date into a excel?
out=datestr(datenum('01/01/2016')+datenum(0:365),'mm/dd/yyyy') xlswrite('your_file.xlsx',out)

대략 10년 전 | 0

| 수락됨

답변 있음
how to delete empty entry from a table
%------Example---------------- v={'a' 1 'k';'b' 2 '';'' 1 'v'} w=cell2table(v) %------the code--------------- a=table2cell...

대략 10년 전 | 1

| 수락됨

답변 있음
how to get correct value on division in matlab
Use vpa function

대략 10년 전 | 2

답변 있음
Plot many filled circles
p= [0 0;1 2;-2 1;4 -2;-3 -3]; r=[1 2 3 4 5] alpha=-pi:0.01:pi x=cos(alpha) y=sin(alpha) for ii=1:numel(r) fill(r(ii)...

대략 10년 전 | 0

| 수락됨

답변 있음
how can i get the data from 3D graph? xyz
%-----Example------------ x=1:100 y=1:100 [X,Y]=meshgrid(x,y) Z=sin(X).^2+cos(Y).^2 mesh(X,Y,Z) %------------------- ch...

대략 10년 전 | 2

답변 있음
How can I use data from excel as input in a function, when the data is to long to put into the "Run" at the top of the script window?
Use xlsread function to import your data

대략 10년 전 | 0

| 수락됨

답변 있음
How to download 32 bit trial matlab?
R2016a, Windows 32-bit operating systems are no longer supported. You can download an earlier version R2015b <https://www.math...

대략 10년 전 | 0

답변 있음
error reading using xlsread
[num,txt,Rawdata] = xlsread ('MAE 525 HW5 Soln.xlsx'); CO2_meas = num(16:end,2); CO_meas = num(16:end,3); result = CO2_...

대략 10년 전 | 0

| 수락됨

답변 있음
Concatenate a 10x4x40 Double Matrix to 40x4
A=rand(10,4,40) B=permute(A(1,:,:),[2 1 3]) out=B(:,:)'

대략 10년 전 | 0

| 수락됨

답변 있음
Extracting fields from structures with varying names.
You can use fieldnames function <http://www.mathworks.com/help/matlab/ref/fieldnames.html>

대략 10년 전 | 0

답변 있음
How do i calculate a matrix of functions run for a number of values and save the matrix for each value
f=@(n)[cosd(n).^2, sind(n).^2, -2.*sind(n).*cosd(n); sind(n).^2, cosd(n).^2, 2.*sind(n).*cosd(n); sind(n).*cosd(n), ...

대략 10년 전 | 0

답변 있음
Matrix value comparison of values
M1(M1>M2)=nan

대략 10년 전 | 0

| 수락됨

답변 있음
add elements in a matrix
A=[1 2 3 3 1 2 2 1 3;3 2 1 1 3 2 2 3 1]; ff=numel(A(1,1:3:end))-1; [n,m]=size(A); [ii,jj]=ndgrid(1:n,1:m); AA=[A A]; out=...

대략 10년 전 | 0

답변 있음
how to use datetick?
q=datevec(x) [~,ii]=unique(q(:,1:2),'rows') a=q(ii,:) a=a(1:3:end,:) xt=datenum(a) plot(x,y,'.') set(gca,'xtick',xt) da...

대략 10년 전 | 0

| 수락됨

답변 있음
How can I specify a summation constraint?
syms p13 p14 p15 p23 p24 p25 p34 p35 p45 P =[ 0, 1/5, p13, p14, p15 0, 0, p23, p24, p25 0, 0, 0, p34, p35 0, ...

대략 10년 전 | 0

더 보기