Community Profile

# Oyeniyi

### Imperial College

21 total contributions since 2014

View details...

Contributions in
View by

Question

Matlab label with different colors on the string using latex interpreter
How do I specify different font colors on the same string using the TEXT, TITLE, XLABEL, YLABEL, or ZLABEL commands etc., while ...

plus de 3 ans ago | 1 answer | 4

### 1

Question

Modify Labels on Contour Plots
I want to modify the font (size and type) of the text that is obtained when the contour function is implemented with the 'showte...

plus de 4 ans ago | 2 answers | 0

### 2

Question

Passing Extra Parameters in Optimization Output
Is there a way to pass out extra calculated values (including the objective) from the objective function file while using the op...

plus de 4 ans ago | 4 answers | 0

### 4

Question

Parfor loops skipping an index
When I run the piece of code below, the result shows that there is an index that is not executed... temp=struct('myfield1',n...

presque 5 ans ago | 1 answer | 0

### 1

Question

Get structure elements across fields
I have a 1-by-n structure with -m- fields. All the elements of the structure are single numbers. I want to get all the elemen...

presque 5 ans ago | 2 answers | 0

### 2

Solved

Squaring Matrix
Square the following matrix using matlab % A = 1 2 3 4 5 6 7 8 So new matrix should display...

environ 5 ans ago

Solved

Sum of series I
What is the sum of the following sequence: Σ(2k-1) for k=1...n for different n?

environ 5 ans ago

Solved

Sum of series III
What is the sum of the following sequence: Σ(2k-1)^3 for k=1...n for different n?

environ 5 ans ago

Solved

Find out value of polynomial at different value.
Find out value of polynomial at different value. Example p(s) = s + 8 For s=0, value is 8.

environ 5 ans ago

Solved

If-then-else
Complete the function below such that if the value of x is in the range 10 to 14, inclusive, the value 18 is assigned to y. Oth...

environ 5 ans ago

Solved

Determine the Anti-diagonal of a Magic Square
Determine the anti-diagonal (crossing from top right to lower left) of a magic square of size n. Examples If n = 3 y =...

environ 5 ans ago

Solved

Solve Linear equations
Solve Linear equations Example: x+y=2 and x+2y=3, then x and y equal to 1.

environ 5 ans ago

Solved

Flip the vector from right to left
Flip the vector from right to left. Examples x=[1:5], then y=[5 4 3 2 1] x=[1 4 6], then y=[6 4 1];

environ 5 ans ago

Solved

[Thermodynamics] Estimate boiling point of n-alkanes
Estimate the boiling point (in Kelvin) of n-Alkanes (n >= 2) using the group contribution method of Joback --- ...

environ 5 ans ago

Solved

Pizza!
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...

environ 5 ans ago

Solved

Average speed for the entire trip
The input is two speeds (for the trip and return trip) and output is average speed. Assume units are consistent, say miles per h...

environ 5 ans ago

Solved

Check if number exists in vector
Return 1 if number _a_ exists in vector _b_ otherwise return 0. a = 3; b = [1,2,4]; Returns 0. a = 3; b = [1,...

environ 5 ans ago

Solved

Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

environ 5 ans ago

Question

Getting axes labels as strings
Is there a way to 'get' the axes label as strings instead of the default number that one receives when one uses 'get(h,'Xlabel')...

plus de 5 ans ago | 1 answer | 0

### 1

How to perform element-wise matrix multiplication in simulink?
Perhaps you want to ensure element-wise multiplication and division. The 2nd division in 'epsilon_x' is the matrix type. As you ...

plus de 5 ans ago | 0

Question

Current App Installation Folder
I want to be able to get the App Install Folder without checking from the 'Preferences' section. Is there a matlab function (...

plus de 5 ans ago | 1 answer | 0