Community Profile # Alexander Engman

Last seen: 1 year ago Active since 2016

#### Statistics

• #### Content Feed

View by

Question

How to recognize gender by name
Hi! I have a list (1 column, 601 rows) of the most popular male and female surnames and they are marked in another column as ...

3 years ago | 2 answers | 0

### 2

Question

Changing values of axis
Hi! I have a plot such as in the attached image. As you can see, the y-axis values range from 1E-7 - 10E-7. I would like to r...

3 years ago | 2 answers | 0

### 2

Question

How to turn values in one matrix corresponding to a specific element in another into NaN
Hi! If I have two matrices: A=[1 2 NaN; 4 NaN 6; NaN 8 9] B=[11 12 13; 14 15 16; 17 18 19] And I want to turn the ...

3 years ago | 1 answer | 0

### 1

Question

Drawing boundary lines in contour plot
Hi! I am creating a contour plot which I have attached. The data comes from a matrix named OPT that contains the values that ...

3 years ago | 0 answers | 0

### 0

Question

White artifacts in colorbar for PDF/EPS plots
Hi, I know this is a very common problem. I was using Matlab 2016b and experienced the problem that these white lines were cr...

3 years ago | 3 answers | 0

### 3

Question

Creating a 3D surface of multiple lines
Hi! I have two variables (Vf,r) that in my code has generated values of a function (f). Vf is the volume fraction of particle...

3 years ago | 1 answer | 0

### 1

Question

Duplicating columns into a matrix
Hi! I think this is very easy to solve, but I simply dont know what is the easiest way. Let's say I have a vector: A=[1 ...

3 years ago | 2 answers | 0

### 2

Question

Predicting behavior of unknown functions based on known functions
Hi! Lets say I have data that I have used to fit two functions: y1=a*x^b+c %for K=10 y2=d*x^e+f %for K=20 y1 i...

3 years ago | 1 answer | 2

### 1

Question

Extracting coefficients from cell array with fitted data
Hi! Suppose I have a cell array where each element contains a 1x1 cfit, each fit with its unique set of coefficients a,b and ...

3 years ago | 1 answer | 1

### 1

Question

Underwater soundwave for different starting angles
Hi! I have previously asked about a similar problem but I will try again since I have since then corrected my codes a bit and...

5 years ago | 2 answers | 0

### 2

Calling function with different variables
Thank you! I understand what I did wrong now. Just one question, from where does the number 90 come from, in: X = zeros(...

5 years ago | 0

Question

Calling function with different variables
Hi! I have a function which looks like this: function dZ=undervatten(n,x,Z) p=[5.8795547370783 14.4873921534832 257.1...

5 years ago | 2 answers | 0

### 2

Question

Soundwaves underwater problem not working correctly
Hi! I have a question regarding problem 7 in the attached document. I have looked at some of the other posts regarding thi...

5 years ago | 0 answers | 0

### 0

Problem with finding roots of an interpolated function
Hi John! Thank you for your very detailed and comprehensive answer. I am afraid that I am not allowed to use the code that...

5 years ago | 0

| accepted

Question

Problem with finding roots of an interpolated function
Hi! I am having problem with an assignment. I am supposed to simulate a pendulum with Eulers method. I think I have managed t...

5 years ago | 2 answers | 0

### 2

Question

Timing multiple Matlab functions
Hi! I have two different ways of calculating a factorial of any number, for this program its 150!. I want to time the two fun...

5 years ago | 2 answers | 0

### 2

Question

Problem with storing for-loop values in array
Hi! I know the question of storing for-loop values in an array has been asked before. I am trying to compare the time it t...

5 years ago | 1 answer | 0

### 1

Question

Finding solutions to equations
Hi! I have a question regarding solving functions. I have a specific function I want to solve but rather than post it here, I...

5 years ago | 1 answer | 0

### 1

Question

Problem with an equation
Hi! I have a problem writing an equation in Matlab. The variables and the equation look like this: x=(-3:0.001:3) y=(...

5 years ago | 1 answer | 0