Community Profile

# Saeid

Last seen: 11 days ago Active since 2016

Professional Interests: Rheology, Polymer Processing, Rubber Mechanics, Polymer Physics, Micromechanics, Finite Difference Method, Finite Element Method, Computational Fluid Dynamics, CFD, Viscoelasticity, Constitutive Modelling, Material Science

#### Content Feed

View by

Question

Saving output values into a and archive .mat file which grows with time
I am currently writing a lab applicaiton that calculates certain values by analyzing IR spectra. I would like to store the numer...

14 days ago | 1 answer | 0

### 1

Question

I need to create a .mat file in which I save a string array using the following two command lines (the original array could be m...

2 months ago | 2 answers | 0

### 2

Question

3D color map of F=F(x,y,z) where data is given as a 2D array of the form [x y z F]
The output of a CFD calculation is usually given in the form of a 2D array [x y z F] where F is a function such as pressure or v...

3 months ago | 1 answer | 0

### 1

Question

Reduce a large XY array to a much smaller xy array where the x data is diluted to a much smaller vector and y values are the mean of the ones inbetween
I need to dilute a very large XY array where e.g. length(X)=10000 and I want to reduce the length of this array to a much smalle...

3 months ago | 2 answers | 0

### 2

Question

Why does integration of an exponential function generate noisy results as opposed to its analytical solution?
The above question is of course a bit too general, but basically it would be of great advantage to find a way to ensure that num...

4 months ago | 1 answer | 0

### 1

Question

Analytical Solution of Double Integral in Symbolic Math
The following integral is known to have an analytical solution int(sin(x)*(a^2*cos(x)^2 + sin(x)^2/a)^(1/2), x) but Symbolic ...

4 months ago | 1 answer | 0

### 1

Question

Is it possible to decide which line is variable names in readtable?
I want to use readtable to read data from an excel file. As I understand, in readtable, the first line is automatically the vari...

9 months ago | 2 answers | 0

### 2

Question

Searching for slightly different versions of one string in another string array
I am looking for slightly diffeerent versions of a string S in the array A. For example, the string S that I am searching for ma...

11 months ago | 1 answer | 0

### 1

Question

Finding elements in string or cell array with common strings
Consider two arrays A & B: A={'blah_12_blah' 'blah_456_blah' 'blah_789_blah' 'blah_NPQZ_blah'} B={'blah_NPQZ_blah' 'blah_135_b...

11 months ago | 1 answer | 0

### 1

Question

Is it possible to save 2D or 3D graphics in a common CAD format (STEP File or .dwg file)?
Is it possible to create a 2D or 3D graphic shape in MATLAB and then convert it into a common CAD file?

1 year ago | 0 answers | 0

### 0

Question

Repeating the rows of an array by a number given by another array
Consider the array: x=[linspace(1,4,4)' linspace(5,20,4)'] I would like to repeat each row by a number given by another array...

1 year ago | 2 answers | 0

### 2

Question

Combining a number and a string array (both columns) into a single column string array.
How can the number array: NUMM=linspace(1,10,10)' and the string array: STRR=repmat('X='10,1) be combined to give a string a...

1 year ago | 2 answers | 0

### 2

fsolve yields initial guess as solution to non-linear equation
Thank you Davide! This really works, although it is not completely indpendent from the initial guess. Of course I know that an i...

1 year ago | 0

Question

fsolve yields initial guess as solution to non-linear equation
I am currently trying to solve a non-linear equation using the following program: clc; format long g; a=0.5; Eta0=100; t12=1e...

1 year ago | 2 answers | 0

### 2

Question

Average number of y for y=f(x) where there are several y values for the same x
I have an array y where y is a function of x but for every x there are multiple values of y. x=[x1 x1 x1 x1 x1 x2 x2 x2 x2 x3 x...

1 year ago | 1 answer | 0

### 1

Question

Identifying numbers within a long string containing multiple occurrences of text and numbers in one row
Read from a text file, my input array contains one row that looks like this: x y z...

1 year ago | 2 answers | 0

### 2

Question

Assigning array-type names to elements of a GUI or App
How can I assign names coming from a string array to the elements of an App? Example: I have the following string array CBNam...

1 year ago | 1 answer | 0

### 1

Question

Finding local minima and maxima of DSC curves using islocalmin and islocalmax
DSC (Differential Scanning Calorimetry) is a thermal analysis method used in material science and chemistry to understand the th...

1 year ago | 0 answers | 0

### 0

Shifting one curve to a reference curve using error minimization (fmincon from the Minimization Toolbox)
Hi Mathieu, thanks for the elaborate response and sorry for my late reply. Yes, it worked pretty well! Saeid

1 year ago | 0

Question

Shifting one curve to a reference curve using error minimization (fmincon from the Minimization Toolbox)
I need to shift the red curve ONLY horizontally to overlap with the black one. This should be possible using error minimization ...

1 year ago | 3 answers | 0

### 3

Question

Curve Fitting Using External Function
Using the Curve Fitting Toolbox, is it possible to put the fitting function outside of the fittype? A general example of the way...

1 year ago | 1 answer | 0

### 1

Question

How to recognize discontinuity of slope in numerical data
I am dealing with a set of data that, when plotted, shows a breaking point as shown in circles. How can I identify these points ...

1 year ago | 1 answer | 0

### 1

Question

Solving set of nonlinear equations with multiple roots
I would like to solve the set of nonlinear equations for x & y, where the set of equations if defined in the function "Uniaxial"...

1 year ago | 0 answers | 0

### 0

Question

Complex roots of sin(2*x)-2*x=0
How can i use fsolve to obtain the complex roots of the equation: sin(2*x)-2*x=0?

1 year ago | 2 answers | 0

### 2

Question

Delete/remove entire rows and columns containing an element that satisfies a condition (e.g. when the element is an imaginary number)
In an array containing elements that are imaginary numbers, how can I remove the entire row(s) and column(s) containing any of t...

1 year ago | 2 answers | 0

### 2

Question

Combining two character arrays so that the elements of one of them is added in between the elements of the other one
I want to combine two character arrays x='ABCDEFGHIJKLMNOPQRSTUVWXYZ' and a='AAAAAAAAAAAAAAAAAAAAAAAAAA' so that A is alte...

2 years ago | 1 answer | 0

### 1

Question

Finding the elements within a certain range [XMin, XMax] in every column of an array, then converting all the elements of each column within that range to the minimum of that range
I want to find all the elements within a certain range in every column of an array. For example, I want to find all the elements...

2 years ago | 1 answer | 0