統計
All
Feeds
回答済み
Checking invertiblity of a symbolic matrix (small size N=12)
remember that a matrix has an inverse if and only if its determinant is different from 0, therefore you must calculate for which...
Checking invertiblity of a symbolic matrix (small size N=12)
remember that a matrix has an inverse if and only if its determinant is different from 0, therefore you must calculate for which...
4年以上 前 | 0
回答済み
Writing a frame to a video error
you need to rearrange some things: clear all;clc; filename1='x_recall_safeaudio_shockvideo.csv'; filename2='y_recall_safeau...
Writing a frame to a video error
you need to rearrange some things: clear all;clc; filename1='x_recall_safeaudio_shockvideo.csv'; filename2='y_recall_safeau...
4年以上 前 | 0
| 採用済み
回答済み
How do I get specific rows from a matrices where a<= x<= b
newmatrix=data1(and(and(data1(:,1)<=10,data1(:,2)<=150),data1(:,2)>=75),:)
How do I get specific rows from a matrices where a<= x<= b
newmatrix=data1(and(and(data1(:,1)<=10,data1(:,2)<=150),data1(:,2)>=75),:)
4年以上 前 | 0
| 採用済み
回答済み
Add value in a matrix
ZORD=sortrows(Z',4)'; [~,~,C]=unique(ZORD(end,:)); ZFIN=[ZORD; C']
Add value in a matrix
ZORD=sortrows(Z',4)'; [~,~,C]=unique(ZORD(end,:)); ZFIN=[ZORD; C']
5年弱 前 | 1
| 採用済み
回答済み
how to know if a char vector contains unwanted characters?
y=["5","6","10"];%y example condition=all(ismember(y,x))
how to know if a char vector contains unwanted characters?
y=["5","6","10"];%y example condition=all(ismember(y,x))
5年弱 前 | 0
回答済み
How to eliminate duplicate rows in an array without changing their orders?
D=unique(DOM,'rows','stable')
How to eliminate duplicate rows in an array without changing their orders?
D=unique(DOM,'rows','stable')
5年弱 前 | 1
| 採用済み
回答済み
Convert Matlab CNN to c# to be used in .net desktop app.
yes you can Generate a .NET Assembly and Build a .NET Application with Matlab Compiler you can use the exportONNXNetwork funct...
Convert Matlab CNN to c# to be used in .net desktop app.
yes you can Generate a .NET Assembly and Build a .NET Application with Matlab Compiler you can use the exportONNXNetwork funct...
5年弱 前 | 0
| 採用済み
回答済み
How to extract some rows from a matrix and put them in another matrix?
setdiff(Q,N,'rows')
How to extract some rows from a matrix and put them in another matrix?
setdiff(Q,N,'rows')
5年弱 前 | 0
回答済み
Deleting a row y from a matrix
A(all(A==y,2),:)=[] edit previous versions: A(all(A==repmat(y,size(A,1),1),2),:)=[]
Deleting a row y from a matrix
A(all(A==y,2),:)=[] edit previous versions: A(all(A==repmat(y,size(A,1),1),2),:)=[]
5年弱 前 | 0
回答済み
Filtrar datos cada n pasos en el tiempo de una matriz
matrizoriginal=0:0.0001:49 ; nuevamatriz=matrizoriginal(1:1000:end)
Filtrar datos cada n pasos en el tiempo de una matriz
matrizoriginal=0:0.0001:49 ; nuevamatriz=matrizoriginal(1:1000:end)
5年弱 前 | 0
回答済み
buenas alguien sabe como puedo poner en una formula numeros aleatorios normalmente distribuidos?
mira la documentación : https://la.mathworks.com/help/matlab/ref/randn.html números aleatorios normalmente distribuidos : n=...
buenas alguien sabe como puedo poner en una formula numeros aleatorios normalmente distribuidos?
mira la documentación : https://la.mathworks.com/help/matlab/ref/randn.html números aleatorios normalmente distribuidos : n=...
5年弱 前 | 0
回答済み
Alguien me puede ayudar excel y matlab
para el que le sirva aquí está la documentación oficial para plotear funciones de transferencia y las respuestas del sistema : h...
Alguien me puede ayudar excel y matlab
para el que le sirva aquí está la documentación oficial para plotear funciones de transferencia y las respuestas del sistema : h...
5年弱 前 | 0
回答済み
Sum of integers up to n using a while loop
try it yourself with a for (see documentation) https://www.mathworks.com/help/matlab/ref/for.html You can be guided by this ex...
Sum of integers up to n using a while loop
try it yourself with a for (see documentation) https://www.mathworks.com/help/matlab/ref/for.html You can be guided by this ex...
5年弱 前 | 1
| 採用済み
回答済み
Why sometimes we place an empty brackets inside function inputs?
means that the second value the function receives is empty, in both cases if you give a value to that second parameter to "min"...
Why sometimes we place an empty brackets inside function inputs?
means that the second value the function receives is empty, in both cases if you give a value to that second parameter to "min"...
5年弱 前 | 0
| 採用済み
回答済み
how to fix this upper directory link?
File_W = fullfile(app.Path, '..', 'MyFolder', [fileName, '_myFormat_.xlsx']); writetable(T1, File_W); a=dir(File_W); namefold...
how to fix this upper directory link?
File_W = fullfile(app.Path, '..', 'MyFolder', [fileName, '_myFormat_.xlsx']); writetable(T1, File_W); a=dir(File_W); namefold...
5年弱 前 | 0
| 採用済み
回答済み
Datetime problem of converting string
hh is uppercase D=datetime('2019/09/05 19:02:11', 'InputFormat','yyyy/MM/dd HH:mm:ss')
Datetime problem of converting string
hh is uppercase D=datetime('2019/09/05 19:02:11', 'InputFormat','yyyy/MM/dd HH:mm:ss')
5年弱 前 | 1
| 採用済み
回答済み
question on indexing: How to extract rows from a matrix that crossponds to certain values in another vector?
FF=unique(Ro(ranks==3,:),'rows')
question on indexing: How to extract rows from a matrix that crossponds to certain values in another vector?
FF=unique(Ro(ranks==3,:),'rows')
5年弱 前 | 0
回答済み
Error : Subscript indices must either be real positive integers or logicals.
you missed a "*" here : 2*g1*(2*..... and many "." ./ g1 = 1.4; R1 = 287; T = 283.15; g4 = 1.667; R2 = 2077; a1 = sqr...
Error : Subscript indices must either be real positive integers or logicals.
you missed a "*" here : 2*g1*(2*..... and many "." ./ g1 = 1.4; R1 = 287; T = 283.15; g4 = 1.667; R2 = 2077; a1 = sqr...
5年弱 前 | 0
回答済み
Matrix Input Layer for Deep Neural Networks
The wonderful thing about Matlab is that almost everything is seen as matrices or vectors, in fact this is not a disadvantage bu...
Matrix Input Layer for Deep Neural Networks
The wonderful thing about Matlab is that almost everything is seen as matrices or vectors, in fact this is not a disadvantage bu...
5年弱 前 | 1
| 採用済み
回答済み
Find corresponding values for unique values in a matrix
m= accumarray(A(:),B(:)); d=find(m); C=[d m(d)]
Find corresponding values for unique values in a matrix
m= accumarray(A(:),B(:)); d=find(m); C=[d m(d)]
5年弱 前 | 1
| 採用済み
回答済み
dataset - add a new row and fill in data in a loop
"The dataset data type is not recommended. To work with heterogeneous data, use the MATLAB® table data type instead" data=readt...
dataset - add a new row and fill in data in a loop
"The dataset data type is not recommended. To work with heterogeneous data, use the MATLAB® table data type instead" data=readt...
5年弱 前 | 1
| 採用済み
回答済み
Error using tabular/addvars (line 174) Variables must have the same number of rows as the table they are being added to.
for i = 1:numel(B) B{i}.Properties.VariableNames = upper(B{i}.Properties.VariableNames);%change all variable names end ne...
Error using tabular/addvars (line 174) Variables must have the same number of rows as the table they are being added to.
for i = 1:numel(B) B{i}.Properties.VariableNames = upper(B{i}.Properties.VariableNames);%change all variable names end ne...
5年弱 前 | 1
| 採用済み
回答済み
How do I set up a function to split up a randomly generated vector into an "if,else" statements to resize it in equal portions of 1, 2, or 3 rows
clc array = [1 2 3 4 5 6 7 8 9 10 11 12];%1:12 do the same s=1:numel(array); fac = s(rem(numel(array),s)==0); allpos=arrayfu...
How do I set up a function to split up a randomly generated vector into an "if,else" statements to resize it in equal portions of 1, 2, or 3 rows
clc array = [1 2 3 4 5 6 7 8 9 10 11 12];%1:12 do the same s=1:numel(array); fac = s(rem(numel(array),s)==0); allpos=arrayfu...
5年弱 前 | 1
| 採用済み
回答済み
How does a matrix sort based on another matrix?
Solution: C=zeros(size(B)); C(sub2ind(size(B),repmat((1:size(B,1))',1,size(B,2)),A))=B
How does a matrix sort based on another matrix?
Solution: C=zeros(size(B)); C(sub2ind(size(B),repmat((1:size(B,1))',1,size(B,2)),A))=B
5年弱 前 | 1
| 採用済み
回答済み
Converting all arrays inside a cell to tables
newC is 40x32, each cell is a table 336x1 : newC = cellfun(@(x) table(x(:)), C, 'uniformoutput', false)
Converting all arrays inside a cell to tables
newC is 40x32, each cell is a table 336x1 : newC = cellfun(@(x) table(x(:)), C, 'uniformoutput', false)
5年弱 前 | 0
| 採用済み
回答済み
How to replace a range of pixel values with another range of pixel values within my image?
yourimage(34,70:80,:)=yourimage(34,60:70,:)
How to replace a range of pixel values with another range of pixel values within my image?
yourimage(34,70:80,:)=yourimage(34,60:70,:)
5年弱 前 | 0
| 採用済み
回答済み
How to replace a pixel value of my image with another value?
works for RGB ,grayscale, and black and white images yourimage(34,71,:)=yourimage(34,55,:)
How to replace a pixel value of my image with another value?
works for RGB ,grayscale, and black and white images yourimage(34,71,:)=yourimage(34,55,:)
5年弱 前 | 0
| 採用済み
回答済み
calling a callback function from script
is y = zeros(1,((a-1)/b)); you have ":" instead of a "," a = 10; b = 0.01; T = 200; y = zeros(1,((a-1)/b)); L = length(y);...
calling a callback function from script
is y = zeros(1,((a-1)/b)); you have ":" instead of a "," a = 10; b = 0.01; T = 200; y = zeros(1,((a-1)/b)); L = length(y);...
5年弱 前 | 0
| 採用済み