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
Feeds
質問
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ヶ月 前 | 1 件の回答 | 0
1
回答質問
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ヶ月 前 | 3 件の回答 | 0
3
回答質問
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ヶ月 前 | 1 件の回答 | 0
1
回答質問
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ヶ月 前 | 2 件の回答 | 0
2
回答質問
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ヶ月 前 | 1 件の回答 | 0
1
回答質問
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ヶ月 前 | 1 件の回答 | 0
1
回答質問
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ヶ月 前 | 2 件の回答 | 0
2
回答質問
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ヶ月 前 | 1 件の回答 | 0
1
回答質問
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ヶ月 前 | 2 件の回答 | 0
2
回答質問
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年以上 前 | 2 件の回答 | 0
2
回答質問
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年以上 前 | 1 件の回答 | 0
1
回答質問
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年以上 前 | 1 件の回答 | 0
1
回答質問
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年以上 前 | 1 件の回答 | 0
1
回答質問
.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年以上 前 | 1 件の回答 | 0
1
回答質問
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年以上 前 | 1 件の回答 | 0
1
回答質問
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年以上 前 | 1 件の回答 | 0
1
回答質問
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年弱 前 | 2 件の回答 | 0
2
回答質問
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年弱 前 | 1 件の回答 | 0
1
回答質問
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年弱 前 | 2 件の回答 | 0
2
回答質問
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年弱 前 | 1 件の回答 | 0
1
回答質問
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年弱 前 | 1 件の回答 | 0
1
回答質問
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年以上 前 | 2 件の回答 | 0
2
回答質問
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年以上 前 | 1 件の回答 | 0
1
回答質問
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年以上 前 | 1 件の回答 | 0
1
回答質問
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?
2年以上 前 | 1 件の回答 | 0
1
回答質問
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年弱 前 | 2 件の回答 | 0
2
回答質問
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年弱 前 | 2 件の回答 | 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...
3年弱 前 | 0
質問
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年弱 前 | 2 件の回答 | 0
2
回答質問
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年弱 前 | 1 件の回答 | 0