Community Profile

Akihumi

Last seen: 8ヶ月 前 2020 年からアクティブ

All

バッジを表示

Content Feed

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);

2年以上 前 | 0

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

2年以上 前 | 0

How we can get snapshot in matlab after a time limit say 3 second automatically
Maybe timer can help?

2年以上 前 | 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...

2年以上 前 | 1

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

2年以上 前 | 0

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

2年以上 前 | 0

| 採用済み

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...

2年以上 前 | 1

| 採用済み

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

2年以上 前 | 0

| 採用済み

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

2年以上 前 | 0

| 採用済み

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...

2年以上 前 | 0

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;...

2年以上 前

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...

2年以上 前

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...

2年以上 前

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...

2年以上 前

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:...

2年以上 前

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 ...

2年以上 前 | 0

| 採用済み

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...

2年以上 前 | 1

| 採用済み

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...

2年以上 前 | 0

| 採用済み

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...

2年以上 前 | 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:...

2年以上 前 | 0

while loop until x amount correct digits
Have you considered using built-in function 'round'? https://www.mathworks.com/help/matlab/ref/round.html Then you can just do...

2年以上 前 | 1

| 採用済み

How to save every iteration of for loop and plot
What is your numerical range of raw_image? If it is between 0 and 1, all elements of Mp2 will be 0, thus the while loop while c...

2年以上 前 | 0