Feeds
質問
Why I get different results evaluating the same matrix usign the symbolic toolbox and the numerical approach?
clc; close all; clear all; %% model 2 syms Wc dt a q_x q_y q_z Dt f1(a, Wc) f2(a, Wc) f3(a, Wc) % Wc = a^2+wc^2 ...
9年以上 前 | 1 件の回答 | 0
1
回答質問
Hello, I am trying to wright a variable directly on the GPU using the following command:
A5 = parallel.gpu.GPUArray.rand(3000,3000); but I get the following error: Undefined variable "parallel" or class "paralle...
9年以上 前 | 2 件の回答 | 0
2
回答回答済み
Hello, I am trying to solve this problem: I have a matrix, for semplicity let's consider a vector and I want to get only the indexes of the element sorted in descending order
I have not the indexes, I want to find them
Hello, I am trying to solve this problem: I have a matrix, for semplicity let's consider a vector and I want to get only the indexes of the element sorted in descending order
I have not the indexes, I want to find them
9年以上 前 | 0
質問
Hello, I am trying to solve this problem: I have a matrix, for semplicity let's consider a vector and I want to get only the indexes of the element sorted in descending order
% consider the vector A A = [10 9 4 2 7 3 5 1] % what I want is to get only B = [10 9 7 5 1] % or is the same the ind...
9年以上 前 | 2 件の回答 | 0
2
回答質問
I have to sum two matrix with different dimension, for example Px = [3x3] and Py = [6x6], how can I insert elements on the diagonal of Px between P11 and P22 for example to make it of the same dimension of Py?
% starting matrix Px = [1 2 3; 4 5 6; 7 8 9]; % Py = magic(6); % elements to increase Px: v = [a1 a2 a3]; % Final mat...
約10年 前 | 2 件の回答 | 0