Community Profile

# Akihumi

Last seen: 20 jours il y a Actif depuis 2020

All

#### Content Feed

Afficher par

A répondu
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);

plus de 2 ans il y a | 0

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

plus de 2 ans il y a | 0

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

presque 3 ans il y a | 0

A répondu
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...

presque 3 ans il y a | 1

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

presque 3 ans il y a | 0

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

presque 3 ans il y a | 0

| A accepté

A répondu
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...

presque 3 ans il y a | 1

| A accepté

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

presque 3 ans il y a | 0

| A accepté

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

presque 3 ans il y a | 0

| A accepté

A répondu
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...

presque 3 ans il y a | 0

A résolu

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

presque 3 ans il y a

A résolu

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

presque 3 ans il y a

A résolu

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

presque 3 ans il y a

A résolu

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

presque 3 ans il y a

A résolu

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

presque 3 ans il y a

A répondu
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 ...

presque 3 ans il y a | 0

| A accepté

A répondu
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...

presque 3 ans il y a | 1

| A accepté

A répondu
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...

presque 3 ans il y a | 0

| A accepté

A répondu
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...

presque 3 ans il y a | 0

A répondu
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:...

presque 3 ans il y a | 0

A répondu
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...

presque 3 ans il y a | 1

| A accepté

A répondu
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...

presque 3 ans il y a | 0