Akihumi
Followers: 0 Following: 0
Feeds
답변 있음
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);
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);
4년 초과 전 | 0
답변 있음
Tolerance, correct digits
You can try to type that in Command Window and you might have your answer right there :)
Tolerance, correct digits
You can try to type that in Command Window and you might have your answer right there :)
4년 초과 전 | 0
답변 있음
How we can get snapshot in matlab after a time limit say 3 second automatically
Maybe timer can help?
How we can get snapshot in matlab after a time limit say 3 second automatically
Maybe timer can help?
4년 초과 전 | 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...
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...
4년 초과 전 | 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)));
Graph of sin(10*x*cos(x))
Do you mean something like this? x = 0:0.01:10; plot(sin(10.*x.*cos(x)));
4년 초과 전 | 0
답변 있음
How to find the unique elements in multiple strings?
unique([strsplit(A,', '), strsplit(B,', ')])
How to find the unique elements in multiple strings?
unique([strsplit(A,', '), strsplit(B,', ')])
4년 초과 전 | 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...
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...
4년 초과 전 | 1
| 수락됨
답변 있음
How to create a black border in each figure of a subplot with colormaps?
Have you tried box?
How to create a black border in each figure of a subplot with colormaps?
Have you tried box?
4년 초과 전 | 0
| 수락됨
답변 있음
Plot P50 value with range from P10 to P90 for different groups on same plot
Do you mean errorbar?
Plot P50 value with range from P10 to P90 for different groups on same plot
Do you mean errorbar?
4년 초과 전 | 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...
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...
4년 초과 전 | 0
문제를 풀었습니다
Solve a System of Linear Equations
*Example*: If a system of linear equations in _x₁_ and _x₂_ is: 2 _x₁_ + _x₂_ = 2 _x₁...
4년 초과 전
문제를 풀었습니다
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...
4년 초과 전
문제를 풀었습니다
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...
4년 초과 전
문제를 풀었습니다
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...
4년 초과 전
문제를 풀었습니다
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:...
4년 초과 전
답변 있음
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 ...
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 ...
4년 초과 전 | 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...
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...
4년 초과 전 | 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...
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...
4년 초과 전 | 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...
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...
4년 초과 전 | 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:...
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:...
4년 초과 전 | 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...
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...
4년 초과 전 | 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...
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...
4년 초과 전 | 0