Community Profile

Pooneh Shah Malekpoor

Last seen: 21 Tage vor Aktiv seit 2020

Statistics

Abzeichen anzeigen

Content Feed

Anzeigen nach

Frage

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

26 Tage vor | 0 Antworten | 0

0

Antworten

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

etwa ein Monat vor | 0

Frage

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

etwa ein Monat vor | 4 Antworten | 0

4

Antworten

Frage

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

etwa ein Monat vor | 1 Antwort | 0

1

Antwort

Frage

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

etwa 2 Monate vor | 3 Antworten | 0

3

Antworten

Frage

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

2 Monate vor | 0 Antworten | 0

0

Antworten

Frage

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

3 Monate vor | 1 Antwort | 0

1

Antwort

Frage

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 Monate vor | 1 Antwort | 0

1

Antwort

Frage

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 Monate vor | 1 Antwort | 0

1

Antwort

Frage

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 Monate vor | 1 Antwort | 0

1

Antwort

Frage

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

etwa ein Jahr vor | 1 Antwort | 0

1

Antwort

Frage

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

etwa ein Jahr vor | 3 Antworten | 0

3

Antworten

Frage

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

etwa ein Jahr vor | 1 Antwort | 0

1

Antwort

Frage

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

etwa ein Jahr vor | 1 Antwort | 0

1

Antwort

Frage

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

mehr als ein Jahr vor | 1 Antwort | 0

1

Antwort

Frage

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

mehr als ein Jahr vor | 1 Antwort | 0

1

Antwort

Frage

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

mehr als ein Jahr vor | 1 Antwort | 0

1

Antwort

Frage

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

mehr als ein Jahr vor | 2 Antworten | 0

2

Antworten

Frage

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

mehr als ein Jahr vor | 2 Antworten | 0

2

Antworten

Frage

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

mehr als ein Jahr vor | 1 Antwort | 0

1

Antwort

Frage

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

mehr als ein Jahr vor | 1 Antwort | 0

1

Antwort

Frage

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

mehr als ein Jahr vor | 1 Antwort | 0

1

Antwort

Frage

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

mehr als ein Jahr vor | 1 Antwort | 0

1

Antwort

Frage

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

mehr als ein Jahr vor | 0 Antworten | 0

0

Antworten

Frage

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

mehr als ein Jahr vor | 1 Antwort | 0

1

Antwort

Frage

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

mehr als ein Jahr vor | 1 Antwort | 0

1

Antwort

Frage

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

mehr als ein Jahr vor | 1 Antwort | 0

1

Antwort

Frage

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

fast 2 Jahre vor | 0 Antworten | 0

0

Antworten

Frage

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

fast 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage

The solution process takes too long+vpasolve
Hello, I am solving a single variable nonlinear equation(i.e. eqn) using vpasolve. The solution speed is fine if n is equal to 1...

mehr als 2 Jahre vor | 0 Antworten | 0

Antworten