photo

Saeid


Last seen: 2 days ago Active since 2016

Followers: 0   Following: 0

Message

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

Statistics

  • Explorer
  • Thankful Level 5

View badges

Feeds

View by

Question


MATLAB 2024b startup folder does not change when I try to set another folder in Preferences
I recently installed version 2024b and the startup folder is "C:\Program Files\MATLAB\R2024b\bin" which is obviously where I ins...

2 months ago | 1 answer | 0

1

answer

Question


Combining text with non-zero elements of a 2D array
I have a numerical array that is "almost" diagonal, so it looks like this: N=[10 0 0 0 0; 0 20 0 0 0; 10 0 20 0 0; 0 0 0 10 0;...

2 months ago | 3 answers | 0

3

answers

Question


Converting cell array with <missing> elements to numerical or double matrix
I have to import a cell array that is composed of strings and numbers from excel to MATLAB using readcell, and one part of the l...

3 months ago | 1 answer | 0

1

answer

Question


Referring to object names in App Designer as elements of an array
In App Designer, I want to introduce the names of a series of objects (e.g. uifigures) in an array, and then refer to them by th...

4 months ago | 2 answers | 0

2

answers

Question


Converting a three-column set of data to xyf matrix suitable for a contour plot
I have a set of data (the output of a CFD calculation) that consists of three columns x and y showing location and a third colum...

7 months ago | 1 answer | 0

1

answer

Question


Loading table from object from .mat file
I import a table object that I have stored in a .mat file (attachment) using: ParaDat=load('ParameterDatabase.mat') Then, I tr...

8 months ago | 1 answer | 0

1

answer

Question


Discretizing a column array, and performing operations on elements of another column array of the same length that lie in the same bins as the original one
I have a data array that is composed of column vectors X, Y, & Z (coordinates) and an array F that has one or multiple columns o...

9 months ago | 2 answers | 0

2

answers

Question


The problem with "contains"
I have an string array containing longer strings, let's say it is called LongStrings. Then I have an array of shorter strings, a...

11 months ago | 1 answer | 0

1

answer

Question


Reading and finding string in a text (.TXT) file containing string and numerical data
I am trying to read data from a text file (attachment). This is a typical summary output from a CFD simulation which has a short...

11 months ago | 2 answers | 0

2

answers

Question


Converting the outpur of a fit (e.g. sfit) into a string format, then pasting the text to a Text Area in app desginer
I have two problems: 1- I don't know how I can convert the output of a fit, which in my case comes as the class "sfit", into a...

1 year ago | 2 answers | 0

2

answers

Question


Plotting the outcome of a 3D fit
I have a set of data in the form [X Y Z] where X, Y and Z are column arrays. I can plot these data using scatter3. However, when...

1 year ago | 1 answer | 0

1

answer

Question


Finding the predominant value in multiple sets of data
I have multiple sets of XY data that look like the following graph, where each set has a different color. The maximum of the blu...

1 year ago | 1 answer | 0

1

answer

Question


Turning all elements of a column array into the same factor of 10
I have an array that looks like this: X=[19.9 20 20 20.1 20.12 19.81 20 20 20 ... ] So it is predomintantly an integer factor...

1 year ago | 1 answer | 0

1

answer

Question


.MAT file with multiple tabs/sheets
I would like to copy the contents of a multi-sheet excel file into a .mat file. Is it possible to have a multi-sheet .MAT file? ...

1 year ago | 1 answer | 0

1

answer

Question


In an array xy=[x y], reduce array length by assigning average values of y based on a predefined range of x
I have the x values in the range x=[x1 ... xn] and y values related to x through the function f as in y=f(x). Now I want to brea...

1 year ago | 1 answer | 0

1

answer

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

1 year ago | 1 answer | 0

1

answer

Question


Loading data from .mat file and converting them to string array
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 years ago | 2 answers | 0

2

answers

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

2 years ago | 1 answer | 0

1

answer

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

2 years ago | 2 answers | 0

2

answers

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

2 years ago | 1 answer | 0

1

answer

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

2 years ago | 1 answer | 0

1

answer

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

2 years ago | 2 answers | 0

2

answers

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

2 years ago | 1 answer | 0

1

answer

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

2 years ago | 1 answer | 0

1

answer

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?

3 years ago | 1 answer | 0

1

answer

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

3 years ago | 2 answers | 0

2

answers

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

3 years ago | 2 answers | 0

2

answers

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

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

3 years ago | 2 answers | 0

2

answers

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

3 years ago | 1 answer | 0

1

answer

Load more