Community Profile

photo

Farooq Aamir


Last seen: 5 days ago Active since 2018

Statistics

  • First Answer
  • First Review
  • Thankful Level 3

View badges

Content Feed

View by

Question


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 ...

1 month ago | 0 answers | 0

0

answers

Question


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...

3 months ago | 0 answers | 0

0

answers

Question


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...

5 months ago | 0 answers | 0

0

answers

Question


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)

7 months ago | 1 answer | 0

1

answer

Question


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...

7 months ago | 1 answer | 1

1

answer

Answered
sol = bvp4c (OdeBVP, OdeBC, solinit, options);
This working now. slipflow() function slipflow format long g %Define all parameters % Boundary layer thickness & st...

8 months ago | 0

Question


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 ago | 1 answer | 0

1

answer

Question


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...

4 years ago | 1 answer | 0

1

answer

Question


How to find the minimum of the given function?
, , and , The squareroot is on the denominator terms only.

5 years ago | 1 answer | 0

1

answer

Question


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...

5 years ago | 1 answer | 0

1

answer

Question


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 ago | 1 answer | 0

1

answer

Answered
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 ago | 0

Question


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 ago | 1 answer | 0

1

answer

Answered
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 ago | 0

Question


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...

6 years ago | 2 answers | 0

2

answers

Question


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...

6 years ago | 1 answer | 0

1

answer

Question


How to create a matrix B=[bij]=[max(i,j)] belongs to class of rectangular matrices
Please answer me

6 years ago | 2 answers | 0

2

answers

Question


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

6 years ago | 4 answers | 0

4

answers