# Rachel Dawn

**Statistics**

RANK**21 144**

of 250 397

REPUTATION**1**

CONTRIBUTIONS

**36** Questions

**1** Answer

ANSWER ACCEPTANCE **
8.33%
**

VOTES RECEIVED**1**

RANK

of 17 398

REPUTATION**N/A**

AVERAGE RATING**0.00**

CONTRIBUTIONS**0** Files

DOWNLOADS **0**

ALL TIME DOWNLOADS**0**

RANK

of 104 086

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

**Content Feed**

Question

How to generate a matrix of random decimal values from -1 to 1?

I want to generate a 8x10 matrix full of random decimal values from -1 to 1, each with EXACTLY 6 decimal places (i.e 0.523483, -...

6 månader ago | 1 answer | 0

### 1

answerQuestion

Error using dacefit: Mulltiple design sites are not allowed

Training a kriging model but I get the error listed in the title. xTrain is a 750x8 double, so 8 design variables [x1 x2 x3....

8 månader ago | 0 answers | 0

### 0

answersQuestion

How to use kriging model with images (pixels)?

I have 1000 images and the pixel data for each of these images (64x128). I want to create a krigging model with the x values as ...

9 månader ago | 0 answers | 0

### 0

answersQuestion

"99 line topology optimization code" why does it take so long for a 64x128 matrix?

I'm running the 99 line topology optimization code with different nelx and nely values. like 20x32, 50x60, etc. It all runs fast...

9 månader ago | 0 answers | 0

### 0

answersQuestion

How to convert "64x128 single" into "64x128 double"?

I imported an array from python with this shape: (5, 25, 64, 128, 1) It's 5 sets of 25 images that are 64x128. I tried plotting ...

9 månader ago | 1 answer | 0

### 1

answerQuestion

MATLAB FEA code to measure the compliance of a topology image?

I'm wondering if there's some code out there that can measure the compliance of a topology image like this one: the images we...

9 månader ago | 0 answers | 0

### 0

answersQuestion

How to define multiple constraints for fmincon?

Hi, I'm trying to minimize the formula below. I've done most of the code except I can't quite figure out how to account for the ...

12 månader ago | 1 answer | 0

### 1

answerQuestion

How to convert a matrix into a vector that has each row as an array?

For example, say that I have this matrix: [a b c d; e f g h; i j k l] To use in python (and to save as .npy), I need the foll...

12 månader ago | 2 answers | 0

### 2

answersQuestion

Error when calling a jupyter notebook file from matlab

So, I'm trying to run a jupyter notebook file from a matlab script: status = system("runipy K-meansCBeam.ipynb") *runipy i...

ungefär ett år ago | 1 answer | 0

### 1

answerQuestion

How can I run a jupyter notebook script from matlab?

I already tried running matlab from jupyter using Oct2Py but it didn't work (error after error). So, I'm wondering if I can use...

ungefär ett år ago | 1 answer | 0

### 1

answerQuestion

How to convert image file name "1.jpg" into a string or # in a list, list= [1]

SIMPLE QUESTION: How to convert a image file name "1.jpg" into a string or # "1"? Ignore what's below (unless you have the time...

ungefär ett år ago | 1 answer | 0

### 1

answerQuestion

How to save images from for loop to use for machine learning algorithm?

I have a for loop that generates a different image each time it loops. I want to save each of these images to input them into a...

ungefär ett år ago | 1 answer | 0

### 1

answerQuestion

How to save each image generated in a for loop?

for i=1:20 volume=randi([2 10], 1,1) location=randi([10 100], 1, 1) imagegenerator(volume,location) end ^...

ungefär ett år ago | 2 answers | 0

### 2

answersQuestion

Unrecognized function or variable 'phload.'

numdesigns=5 nelx=30; nely=30; for i=1:numdesigns volfrac=round((.3+(.8-.3)*rand(1,1)),1); %random # from .3 to .8 ...

mer än ett år ago | 1 answer | 0

### 1

answerQuestion

How to automatically add/subtract lines of code into a matlab function for several iterations?

So, I have this topology optimization function (models a beam problem with supports/loads on it). It takes 5 input variables a...

mer än ett år ago | 0 answers | 0

### 0

answersQuestion

How to fit a lorentzian function to this raw data?

My research mentor asked if I could help him curve fit the Lorentzian to some raw data. Disclaimers: 1) I have no experience wi...

nästan 3 år ago | 0 answers | 0

### 0

answersQuestion

Simpson's Rule to find total work

If I'm given time=[0,#,#,#,#,#] and velocity=[#,#,#,#,#,#] and Force=[#,#,#,#,#,#], how could I use Simpson's rule to find t...

nästan 4 år ago | 0 answers | 0

### 0

answersQuestion

Trapezoidal rule to find total work?

I'm given 6 values for time, Force, and velocity. And I'm told to find total work with trapezoidal rule. (first time value is ze...

nästan 4 år ago | 1 answer | 0

### 1

answerQuestion

Least squares Exponential fit using polyfit

Let's say I'm given x=[11,60,150,200] and y=[800,500,400,90] These are just random numbers (but imagine the solution is in the ...

nästan 4 år ago | 1 answer | 0

### 1

answerQuestion

Why can't I put two equations in one function file?

function a,b=myfunction(x) a= @(x) 5-5*exp((1/3)*x) + (16- x^2)^(1/2) b= @(x) (-5/3)*exp((1/3)*x) - (16- x^2)^(-1/2) ...

nästan 4 år ago | 1 answer | 0

### 1

answerQuestion

bisection method disadvantage?

So, I wrote code for a function to find its roots using the bisection method. I used initial guesses x=4 and 6, knowing that the...

nästan 4 år ago | 1 answer | 0

### 1

answerQuestion

false position method to find zeros, not plotting zeros

Can someone tell me why this code is not finding/ plotting the roots for my function? I created a plot for function. Then, I wr...

nästan 4 år ago | 0 answers | 0

### 0

answersQuestion

function that accepts vector

Can someone explain why I must use ".^" in the first function but then ".*" in the second? (for both to accept vectors and scala...

nästan 4 år ago | 0 answers | 0

### 0

answersQuestion

Function won't accept vector

function result = g(x) result= (2*x*exp(cos(6*x))*exp(-x)) + 15 " Error using * Inner matrix dimensions must agree." ...

nästan 4 år ago | 2 answers | 0

### 2

answersQuestion

bisection method error between approximation and actual root

Does anyone know what this question is asking? "How many iterations of the bisection would be needed to ensure that the error b...

nästan 4 år ago | 1 answer | 0

### 1

answerQuestion

subscript indices error with function file (bisection method)

function result=guess(x) xleft=x(1,1); xright=x(1,2); f(x)= x.^3 - 4.9*x.^2 +6.76*x-2.013 if f(xleft)*f(xright)<0 ...

nästan 4 år ago | 2 answers | 0

### 2

answersQuestion

Determine if valid initial guess for closed numerical method

If I'm given a function f(x), how can I determine whether say [0 1] or [1,2 ] are valid initial guesses for a closed numerical m...

nästan 4 år ago | 1 answer | 0

### 1

answerHow can I tell if this is stored as a vector?

Wow, thank you so much! I wouldn't have thought it would be as simple as taking off a semicolon & the output argument. I thought...

nästan 4 år ago | 0

Question

Sum of row and column #?

Say I ask the user to input the size of a square matrices, n. And say I want each element of this matrix to be the sum of the...

nästan 4 år ago | 4 answers | 0

### 4

answersQuestion

How can I tell if this is stored as a vector?

Basically, I created a function, which contains the following (along with some other stuff): Lala= myfunction(a,b,n) ... ...

nästan 4 år ago | 2 answers | 0