Feeds
提问
How to plot 2d and 3D phase portrait as in the image attachment for chaotic visualization? Also see my code.
function chaotic % Define the parameters k = 1; lambda_1 = 1; k_1 = 1; k_2 = 2; k_3 = 1; v_1 ...
9 months 前 | 0 个回答 | 0
0
个回答提问
Unable to solve the collocation equations -- a singular Jacobian encountered.
function Sc_1 % Define constants phi = 0.02; R_s = 1738; R_f = 1053; S_s = 230000000; S_f = 0.18...
10 months 前 | 0 个回答 | 0
0
个回答提问
I want to save view(net) as an image in 2013b. I searched (https://stackoverflow.com/questions/14919140/matlab-how-to-save-view-configuration) and used them but not succeeded.
% Solve an Input-Output Fitting problem with a Neural Network % Script generated by Neural Fitting app % Created 19-Nov-2023 1...
12 months 前 | 0 个回答 | 0
0
个回答提问
Unable to perform assignment because the size of the left side is 5-by-75 and the size of the right side is 5-by-87.
plot(x,y(:,2,1),'color','Cyan','LineWidth',1.5)
1 year 前 | 1 个回答 | 0
1
个回答提问
I want to surface plot in the attachment. Also see my code.
clear all;close all; a = 1; b = 2; c = 2; B = 3; t = 1; m = 0.5; gamma = 0.8; alpha = 0.9; x = 0:0.01:10; u = c*x.^gam...
1 year 前 | 1 个回答 | 1
1
个回答已回答
sol = bvp4c (OdeBVP, OdeBC, solinit, options);
This working now. slipflow() function slipflow format long g %Define all parameters % Boundary layer thickness & st...
sol = bvp4c (OdeBVP, OdeBC, solinit, options);
This working now. slipflow() function slipflow format long g %Define all parameters % Boundary layer thickness & st...
1 year 前 | 0
提问
Can any body solve this error? Subscript indices must either be real positive integers or logicals. Error in mynumericlalinverselaplace (line 17) u(i)=2/t*real(k1*F1(y(i),a1/t))+2/t*real(k2*F1(y(i),a2/t))...
clear all; close all; clc; syms q; a1=12.83767675+1i*1.666063445; k1=-36902.08210+1i*196990.4257; a2=12.22613209+1i*5...
4 years 前 | 1 个回答 | 0
1
个回答提问
See the figure.
As from figure we can see that the gragh are in down direction. Now my question is that there any way that we can fix our Y-axis...
5 years 前 | 1 个回答 | 0
1
个回答提问
How to find the minimum of the given function?
, , and , The squareroot is on the denominator terms only.
6 years 前 | 1 个回答 | 0
1
个回答提问
I want to generate 2000 matrices for statistical analysis, when I put m=2 my code works but for greater then m it gives error like that "Error using ' Transpose on ND array is not defined. Use PERMUTE instead." see my code
clc tic m=3; A = randn(3,3, m); J=blkdiag(eye(3),-eye(2)); B=rand(2,3); C=hilb(2); for j=1:m A(:,:...
6 years 前 | 1 个回答 | 0
1
个回答提问
How to get three sub matrices from a matrix of any order? How we will do for general matrix? I have given an example of order 5.
For example: A= [1 4 5 7 8; 4 2 6 9 10; 5 6 3 1 1; 7 9 1...
6 years 前 | 1 个回答 | 0
1
个回答提问
Suppose we have 2000 matrices and for each matrix we have a real value between [-3,3]. I want a plot the matrices along horizontal x-axis and their corresponding value on y-axis as shown in figure.
<</matlabcentral/answers/uploaded_files/136170/Untitled.png>>
6 years 前 | 1 个回答 | 0
1
个回答提问
How to generate 500 random matrices by loop ?
I want to generate 500 random matrices for a numerical test by loop? Can anyone help me?
6 years 前 | 1 个回答 | 0
1
个回答已回答
How to write these expression, where r_ij are the elements of any arbitrary matrix of even order?
I have written above inequalities, is there any shorter to write these? R=[1, 2, 3, 5;4, 8, 9, 6 ; 5, 6, 7,8;1,1,1,1]; n=l...
How to write these expression, where r_ij are the elements of any arbitrary matrix of even order?
I have written above inequalities, is there any shorter to write these? R=[1, 2, 3, 5;4, 8, 9, 6 ; 5, 6, 7,8;1,1,1,1]; n=l...
6 years 前 | 0
提问
How to write these expression, where r_ij are the elements of any arbitrary matrix of even order?
<</matlabcentral/answers/uploaded_files/114430/Untitled.png>>
6 years 前 | 1 个回答 | 0
1
个回答已回答
Matlab code for this type of factorization.A has a SR decomposition A = SR , where S ∈ R^ 2n ×2n is a symplectic matrix, i.e. S ^TJS = J
if true % code end function [c, v] = optsymhouse1(a) twon = length(a); n = twon/2; J = [zeros(n), eye(n); -eye(n), ...
Matlab code for this type of factorization.A has a SR decomposition A = SR , where S ∈ R^ 2n ×2n is a symplectic matrix, i.e. S ^TJS = J
if true % code end function [c, v] = optsymhouse1(a) twon = length(a); n = twon/2; J = [zeros(n), eye(n); -eye(n), ...
6 years 前 | 0
提问
Matlab code for this type of factorization.A has a SR decomposition A = SR , where S ∈ R^ 2n ×2n is a symplectic matrix, i.e. S ^TJS = J
J=[0 -I;I 0] where I∈R^ n ×n means identity matrix. R=[R11 R12;R21 R22]∈ R^ 2n ×2n , is constituted by upper triangular matrice...
7 years 前 | 2 个回答 | 0
2
个回答提问
I have make a code for block Kronecker product when both A and B have even dimension now myquestion (I want to make a code when A and B have are not even and also A is square and B is rectangular and vice versa)
function y=Kronb4(A,B) %n is the order of the matrix R y=[kron(A,B(1:2,1:2)) kron(A,B(1:2,3:4)) ; kron(A,B(3:4,1:2)) kron...
7 years 前 | 1 个回答 | 0
1
个回答提问
How to create a matrix B=[bij]=[max(i,j)] belongs to class of rectangular matrices
Please answer me
7 years 前 | 2 个回答 | 0
2
个回答提问
how to create this matrix [1 2 3 4 5;2 2 3 4 5;3 3 3 4 5;4 4 4 4 5;5 5 5 5 5]
Waiting for your response
7 years 前 | 4 个回答 | 0