Community Profile

photo

Parham Babakhani Dehkordi


Polytechnic of Milan

Last seen: meer dan 3 jaar ago Active since 2015

Statistics

  • Thankful Level 3

View badges

Content Feed

View by

Question


How can we merge two separate video files into one?
Hello, I have two separate video .avi files named as 'first' and 'second'. The first video contains 13 frames, and second video...

meer dan 3 jaar ago | 2 answers | 0

2

answers

Question


Counting pixels of colored objects in an image
Hi everyone. I have an image (attached) with three different colors as blue, white and yellow. I need to count the number of pix...

meer dan 4 jaar ago | 1 answer | 0

1

answer

Question


how to convert a structure format to xml?
Hi, I am trying to convert my file named as 's' with struct format to xml format. I was able to find the code written below. I ...

bijna 6 jaar ago | 3 answers | 0

3

answers

Question


The error using imwrite. how can I fix this?
Hi, I want to crop an image and save it using imwrite. I get the following error, how can I fix this: Error using imwrite ...

meer dan 7 jaar ago | 1 answer | 0

1

answer

Question


Do you know how to solve an integral over a loop?
Hi, I have a integral that I need to solve, the problem is that I have a loop, that is, for each value of r, Ihave one U, my inp...

meer dan 7 jaar ago | 1 answer | 0

1

answer

Question


How to remove a gap between bars in histogram?
Hello all, I would like to remove gaps between bars in a histograms, I attached you my figures for your record. Due to the fact ...

meer dan 7 jaar ago | 1 answer | 0

1

answer

Question


how can I prevent dashed line to become continuous line?
Hi everyone, I am interested in plotting a dashed line. However, due to the large data points that I have in a plot, some part b...

meer dan 7 jaar ago | 1 answer | 0

1

answer

Question


How can I obtain two unknown with one equation through optimization?
Hi, I have one equation with two unknowns(A and y) as follows; ls/D=A [Jg+(y^2/Jg)] input parameters are: D=0.04; Jg and l...

meer dan 7 jaar ago | 1 answer | 0

1

answer

Question


How can I track the interface of image?
Hi everyone. I have 75 binary frames. each frame has a size of Height=301 and width=1483. I attached you the first frame for you...

bijna 8 jaar ago | 1 answer | 0

1

answer

Question


how can I multiply a vector by scalar?
Hi, I have a very simple case. I do not know why there is an error which says, (Undefined operator '*' for input arguments of t...

bijna 8 jaar ago | 3 answers | 0

3

answers

Question


How can I add a zero element to a cell array?
Hi everyone, I have two cell arrays as: B=[1*44997] and time=t=[1*44998]. The values in B are zero, 1 and -1. I would like t...

bijna 8 jaar ago | 1 answer | 0

1

answer

Answered
How can I automatically crop all images?
Thank you Walter for your answer, I have another question. I have automatically crop the images and also I was able to have bina...

bijna 8 jaar ago | 0

Question


How can I automatically crop all images?
Hello, I have 1080 images in one folder. All the images are the same in terms of pixel location. so, I want to automatically cr...

bijna 8 jaar ago | 2 answers | 0

2

answers

Answered
How to find parameters of the following coefficient based on optimization tool?
Thank you Roger for your help,but I still have a problem to get a solution, I arranged my code with initial guesses for a=0.31,m...

bijna 8 jaar ago | 0

Question


How to find parameters of the following coefficient based on optimization tool?
Hi everyone, I have the following input and function, my purpose is to calculate the value of a,m and n which are scalars using...

bijna 8 jaar ago | 2 answers | 0

2

answers

Question


How to find exponent of a function?
Hi everyone, I have the following function: Y=exp -[(d/D)^n] Y and n are unknowns. D is a scalar and d is a vector. From phys...

meer dan 8 jaar ago | 2 answers | 0

2

answers

Question


How can I use isqurvefit or fminsearch to have my coefficient of the function?
Hi everyone, I have the following function, how can I get the value of A,B and n by curve fitting, I tried but I was not succ...

bijna 9 jaar ago | 1 answer | 0

1

answer

Question


how Can I have a stable and converged solution using fsolve?
Hello everyone, I have the following parameters and functions,I used fsolve to iteratively solve the nonlinear function. ther...

bijna 9 jaar ago | 1 answer | 0

1

answer

Question


How can I draw a parity plot?
Hello everyone, I have two series of data as follows: x=[0.8288 1.021 1.2093 1.4674 1.7577 1.9679 2.2465 2.9532]; y=[0.8242...

bijna 9 jaar ago | 2 answers | 0

2

answers

Question


How can I apply 'for' cycle for two arrays?
Hello, I have these parameters: D=0.030; A=7.0685*10^-4; Jo=0.763; Jw=[0.778090833 0.998156927 1.194644511 1.39...

bijna 9 jaar ago | 1 answer | 0

1

answer

Question


how can we solve the iterative functions based on fzero and fsolve simultaneously?
Hi, I have a function which has some input parameters which are constant. However, there is one parameter as teta (teta must be ...

bijna 9 jaar ago | 1 answer | 0

1

answer

Answered
how can I remove error in fzero?
D=0.040; A=pi*D^2/4; Jo=0.74; Jw=[0.35 0.25 0.19 0.12 0.08 .06 0.04]; ro_o=910; ro_w=1000; mu_w=0.001; mu_o=0.92; ...

bijna 9 jaar ago | 0

| accepted

Question


how can I remove error in fzero?
Hi everybody, I have some input parameters such as: D=0.040; A=pi*D^2/4; Jo=0.74; Jw=[0.35 0.25 0.19 0.12 0.08 .06 0.04]; ...

bijna 9 jaar ago | 2 answers | 0

2

answers

Question


how Can I find the minimum value of my functions by fzero?
Hi everyone, I want to minimize my function in which only Hw and Jw is changed so it would be useful to do it by fzero, this fun...

bijna 9 jaar ago | 1 answer | 0

1

answer

Question


one error in fminsearch?
I tried to use fminsearch to solve an equation with three unknown parameters but there is an error: fi1=[0.6787*1.0e-5 0.4520...

bijna 9 jaar ago | 1 answer | 0

1

answer

Question


How can I calculate x for each associated Ho?
Hi, I tried to calculate x value for each Ho in the following equation by using fzero function. but there is an error which av...

bijna 9 jaar ago | 1 answer | 0

1

answer

Question


How can I find the coefficient of my function by using regression in matlab?
Hi, I really in trouble to find the coefficients of my function as follows: f=A+B(h/D)^n; f=[6.67836E-05 3.6796E-05 2.30952...

ongeveer 9 jaar ago | 1 answer | 0

1

answer

Question


How can I solve this integral?
I attached a word file. I want to know what would be the appropriate code to solve this integral.

ongeveer 9 jaar ago | 0 answers | 0

0

answers