Saeid
Followers: 0 Following: 0
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
RANK
7 932
of 295 495
REPUTATION
6
CONTRIBUTIONS
128 Questions
6 Answers
ANSWER ACCEPTANCE
70.31%
VOTES RECEIVED
5
RANK
of 20 240
REPUTATION
N/A
AVERAGE RATING
0.00
CONTRIBUTIONS
0 Files
DOWNLOADS
0
ALL TIME DOWNLOADS
0
RANK
of 153 991
CONTRIBUTIONS
0 Problems
0 Solutions
SCORE
0
NUMBER OF BADGES
0
CONTRIBUTIONS
0 Posts
CONTRIBUTIONS
0 Public Channels
AVERAGE RATING
CONTRIBUTIONS
0 Highlights
AVERAGE NO. OF LIKES
Feeds
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 månader ago | 1 answer | 0
1
answerQuestion
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 månader ago | 3 answers | 0
3
answersQuestion
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 månader ago | 1 answer | 0
1
answerQuestion
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 månader ago | 2 answers | 0
2
answersQuestion
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 månader ago | 1 answer | 0
1
answerQuestion
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 månader ago | 1 answer | 0
1
answerQuestion
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 månader ago | 2 answers | 0
2
answersQuestion
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 månader ago | 1 answer | 0
1
answerQuestion
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 månader ago | 2 answers | 0
2
answersQuestion
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...
mer än ett år ago | 2 answers | 0
2
answersQuestion
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...
mer än ett år ago | 1 answer | 0
1
answerQuestion
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...
mer än ett år ago | 1 answer | 0
1
answerQuestion
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...
mer än ett år ago | 1 answer | 0
1
answerQuestion
.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? ...
mer än ett år ago | 1 answer | 0
1
answerQuestion
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...
mer än ett år ago | 1 answer | 0
1
answerQuestion
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...
mer än ett år ago | 1 answer | 0
1
answerQuestion
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...
nästan 2 år ago | 2 answers | 0
2
answersQuestion
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...
nästan 2 år ago | 1 answer | 0
1
answerQuestion
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...
nästan 2 år ago | 2 answers | 0
2
answersQuestion
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...
nästan 2 år ago | 1 answer | 0
1
answerQuestion
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 ...
ungefär 2 år ago | 1 answer | 0
1
answerQuestion
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...
mer än 2 år ago | 2 answers | 0
2
answersQuestion
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...
mer än 2 år ago | 1 answer | 0
1
answerQuestion
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...
mer än 2 år ago | 1 answer | 0
1
answerQuestion
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?
nästan 3 år ago | 1 answer | 0
1
answerQuestion
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...
nästan 3 år ago | 2 answers | 0
2
answersQuestion
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...
nästan 3 år ago | 2 answers | 0
2
answersfsolve 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...
nästan 3 år 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...
nästan 3 år ago | 2 answers | 0
2
answersQuestion
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...
nästan 3 år ago | 1 answer | 0