Community Profile

Pooneh Shah Malekpoor

Last seen: 11 dagen ago Active since 2020

Content Feed

View by

Question

How to get the total simulation time as an output in Matlab
Hello I am running a simulation in MatLab which outputs some parameter values as I am using save command. What code can I use t...

16 dagen ago | 0 answers | 0

0

solving an equation not by sym
Thanks for yur response. Ok, let me explain in detail. In equation below, E(1,1)=0, E(2,1) has E(1,1) inside it, in the same lin...

29 dagen ago | 0

Question

solving an equation not by sym
Hello My equation is developed in a step-by-step manner as follows with some assumptions. x is the unknown in here. This is jus...

29 dagen ago | 4 answers | 0

4

Question

why my matlab code calculates the inequality wrongly?
Hello I am defining inequility for a condition; however, Matlab cannot compare two sides correctly as is attached here. How sho...

ongeveer een maand ago | 1 answer | 0

1

Question

omit rows of matrix based on a condition
Hello My matrix B is : [0.25 0 0; 0.5 -4.91 -4.9; 0.75 -4.94 -4.96; 1 -4.985 -5; 1.25 -5 -5; 1.5 -5 -5; 1.75 -5 -5] H...

ongeveer een maand ago | 3 answers | 0

3

Question

using Maximum Likelihood Estimation (MLE) to find the correlation length of a set of data
Hello I have a set of data with normal distribution. I know we can estimate the population parameters using MLE which are the m...

ongeveer 2 maanden ago | 0 answers | 0

0

Question

How to get a logical output if all the arrays of a matrix are NAN and the matrix is a string
Hello The matrix, F I have is: F = 1×8 string array "NA" "NA" "NA" "NA" "NA" "NA" "NA" "NA" I ...

2 maanden ago | 1 answer | 0

1

Question

How to draw a complicated graph
Hello This is the simplest form of the graph that I want to plot. At first, I am going to draw the x-Z-Y graph when K=0. Imagin...

6 maanden ago | 1 answer | 0

1

Question

substitue a matrix into another with some conditions
Hello I have a matrix like: A=[1 1;2 1;3 1;1 2;2 2;3 2;1 3;2 3;3 3] and another B=[4 1; 5 1; 4 2; 5 2; 4 3; 5 3] The cond...

7 maanden ago | 1 answer | 0

1

Question

deleting some of the arrays in a matrix based on a principle
Hello I have a matrix of numbers for example: [10; 20; 30; 40; 50; 60; 70; 80; 90;...;160] which are assigned to a mesh in ord...

9 maanden ago | 1 answer | 0

1

Question

if the imaginary part of a complex number is zero
Hello Here is my code where I want to see if the imaginary part of a number is zero then int=int+1; however, the imaginary part...

ongeveer een jaar ago | 1 answer | 0

1

Question

Hello It is an example of many equations in my lengthy code. I want to use fsolve to solve it as it is more efficient; however,...

ongeveer een jaar ago | 3 answers | 0

3

Question

fortran subroutine includes several other subroutines
Hello I want to write a Mex file to import data from a Fortran 77 subroutine in MatLab. However, this subroutine includes sever...

ongeveer een jaar ago | 1 answer | 0

1

Question

Error using mex No supported compiler was found.
Hello My matlab version is R2019b. I have visual studio 2017 with intel oneAPI 2021 installed. However, when I type the follow...

ongeveer een jaar ago | 1 answer | 0

1

Question

use mvnrnd with some conditions
Hello Consider this example in MathWorks website: n=1000; sigma=0.5; Sigmalnd=sigma.^2.*[1 0; 0 1]; rng(default); ZIn...

meer dan een jaar ago | 1 answer | 0

1

Question

Brace indexing is not supported for variables of this type.
Hello I have got this error message: Error in cell2mat (line 36) if isnumeric(c{1}) || ischar(c{1}) || islogical(c{1}) ...

meer dan een jaar ago | 1 answer | 0

1

Question

problem in cell matrix operations
Hello I have code like this which gives out a 5*1 cell matrix: row = [0; 1; 2; 3; 4] ; Coh = [15;16 ;17; 18; 20;19;7;8;22;2...

meer dan een jaar ago | 1 answer | 0

1

Question

grouping data in column vector based on another vector
Hello I have a column vector A as [0;1;2;3;4]. On the other hand, there is another column vector called C=[15;16 ;17; 18; 20;...

meer dan een jaar ago | 2 answers | 0

2

Question

How to multiply a matrix to another cell matrix
Hello I have a 3*3 matrix such as [1 0 0; 8 23 1; 5 7 10] On the other hand, I have matrix 2000*1 containin...

meer dan een jaar ago | 2 answers | 0

2

Question

How to convert a matrix into some cells?
Hello I have a big matrix which i want to convert to equal submatrixces in cell form. As an illustration imagine this matrix: ...

meer dan een jaar ago | 1 answer | 0

1

Question

How to increase the size of a matrix within for loop
Hello There is a for loop in my code. imagine i obtain value 1 after the first iteration, so it would be my first array in the...

meer dan een jaar ago | 1 answer | 0

1

Question

How to generate different numbers of random variables in each Monte Carlo iteration (random fields)
Hello I am modeling random fields in each monte carlo simulation. In this regard, I am usnig the mvnrnd command to generate dep...

meer dan een jaar ago | 1 answer | 0

1

Question

generating correlated random variables
Hello Though the subject might seem similar to other subjects available in this forum, it is indeed different. I am doing a M...

meer dan een jaar ago | 1 answer | 0

1

Question

Assigning values and classification/grouping
Hello I am defining some slices in matlab (n is the number of slice and the curve in the figure is part of a circle), which ha...

meer dan een jaar ago | 0 answers | 0

0

Question

reproduce random numbers for the third dimension
Hello I want to generate random numbers for matrix A which has a second page(i.e. 2), whose values i am going to assign to ano...

meer dan een jaar ago | 1 answer | 0

1

Question

unclear number of if or maybe other commands?!
Hello I am confused in writing a code which i am going to explain. imagine there is a row matrix whose dimension is not clea...

meer dan een jaar ago | 1 answer | 0

1

Question

Classify rows of a matrix
Hello I want to know how it is possible to define a condition as if the numbers at the second column of some rows of a matrix a...

meer dan een jaar ago | 1 answer | 0

1

Question

Speed up the code
Hello This code is part of a total code. It calculates the geometrical features of the main problem geometry. However, it takes...

meer dan een jaar ago | 0 answers | 0

0

Question

solve a vector of independent equations with only one variable
Hello Could anyone please guide me as to how solve this system of vector equations(EQ), so it would give me a vector of solutio...

bijna 2 jaar ago | 1 answer | 0