Community Profile

# Akihumi

##### Last seen: 2 days ago
22 total contributions since 2020

View details...

Contributions in
View by

How to find the indeces of same values within two vectors with repetitive values?
flip it to another way should work: idx = find(ismember(B,A)==1);

1 year ago | 0

Tolerance, correct digits
You can try to type that in Command Window and you might have your answer right there :)

1 year ago | 0

3 subplots of those three intervals in a horizontal line
Do you mean using something like subplot? Eg: figure subplot(1,3,1) plot(x,A) subplot(1,3,2) plot(x,B) subplot(1,3,3) pl...

1 year ago | 0

Graph of sin(10*x*cos(x))
Do you mean something like this? x = 0:0.01:10; plot(sin(10.*x.*cos(x)));

1 year ago | 0

How to find the unique elements in multiple strings?
unique([strsplit(A,', '), strsplit(B,', ')])

1 year ago | 0

| accepted

How to assign a different color to lines being plotted in a loop?
* Edits: Sorry for the wrong information about the default line color. Otherwise, you can try figure hold on randColor = ra...

1 year ago | 1

| accepted

How to create a black border in each figure of a subplot with colormaps?
Have you tried box?

1 year ago | 0

| accepted

Plot P50 value with range from P10 to P90 for different groups on same plot
Do you mean errorbar?

1 year ago | 0

| accepted

how do i compare my test image with the one in my database using euclidean distance?
I assume that you have RGB images. Do you mean that you want to compute the euclidean distance of the pixes at same location on...

1 year ago | 0

Solved

Solve a System of Linear Equations
*Example*: If a system of linear equations in _x&#8321_ and _x&#8322_ is: 2 _x&#8321;_ + _x&#8322;_ = 2 _x&#8321;...

1 year ago

Solved

Find the Oldest Person in a Room
Given two input vectors: * |name| - user last names * |age| - corresponding age of the person Return the name of the ol...

1 year ago

Solved

Convert from Fahrenheit to Celsius
Given an input vector |F| containing temperature values in Fahrenheit, return an output vector |C| that contains the values in C...

1 year ago

Solved

Calculate Amount of Cake Frosting
Given two input variables |r| and |h|, which stand for the radius and height of a cake, calculate the surface area of the cake y...

1 year ago

Solved

Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

1 year ago

how to solve 'Index exceeds the number of array elements (1)'?
Your x and y are single value, so it will have error when i==2. You can make use of 'Pause on Errors' under the drop down menu ...

1 year ago | 0

| accepted

2D array in for loop problem
Unlike Python, C, C++ and other programming languages, Matlab starts the matrix index with 1 instead of 0. So just change the f...

1 year ago | 0

| accepted

problem with xlswrite windows
I think the filename doesn't allow ':' if you use datestr(now) Try using sprintf('%02.0f',clock) Besides, I would suggest us...

1 year ago | 0

| accepted

Training data in ANN (Artificial Neural Network) code
I noticed that you have saved the data in a new sheet in Excel, is that intended? If not, you can simply delete the empty sheet...

1 year ago | 0

How to calculate this values manually.
Why not just refer to the documentations of the functions at: https://www.mathworks.com/help/matlab/ref/double.cos.html https:...

1 year ago | 0