解決済み


Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

2年以上 前

回答済み
Matlab produces empty figure when using plot(x,y,'-')
A = 20 Ap = A; t = 0 tp = t; while t < 20 A = A + 1 Ap = [Ap, A]; t = t + 5 tp = [tp, t]; end figure...

4年弱 前 | 0

解決済み


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

解決済み


Dimensions of a rectangle
The longer side of a rectangle is three times the length of the shorter side. If the length of the diagonal is x, find the width...

4年以上 前

解決済み


Find a Pythagorean triple
Given four different positive numbers, a, b, c and d, provided in increasing order: a < b < c < d, find if any three of them com...

4年以上 前

解決済み


Is this triangle right-angled?
Given three positive numbers a, b, c, where c is the largest number, return *true* if the triangle with sides a, b and c is righ...

4年以上 前

解決済み


Triangle sequence
A sequence of triangles is constructed in the following way: 1) the first triangle is Pythagoras' 3-4-5 triangle 2) the s...

4年以上 前

解決済み


Area of an equilateral triangle
Calculate the area of an equilateral triangle of side x. <<https://i.imgur.com/jlZDHhq.png>> Image courtesy of <http://up...

4年以上 前

解決済み


Side of an equilateral triangle
If an equilateral triangle has area A, then what is the length of each of its sides, x? <<https://i.imgur.com/jlZDHhq.png>> ...

4年以上 前

解決済み


Side of a rhombus
If a rhombus has diagonals of length x and x+1, then what is the length of its side, y? <<https://imgur.com/x6hT6mm.png>> ...

4年以上 前

解決済み


Length of the hypotenuse
Given short sides of lengths a and b, calculate the length c of the hypotenuse of the right-angled triangle. <<https://i.imgu...

4年以上 前

解決済み


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

4年以上 前

回答済み
what is the matlab code for image classification using svm classifier to classify the skin diseases
Binary SVM Classification: https://in.mathworks.com/help/stats/support-vector-machines-for-binary-classification.html Multi Cl...

4年以上 前 | 0

解決済み


Is this triangle right-angled?
Given any three positive numbers a, b, c, return true if the triangle with sides a, b and c is right-angled. Otherwise, return f...

5年弱 前

解決済み


Length of a short side
Calculate the length of the short side, a, of a right-angled triangle with hypotenuse of length c, and other short side of lengt...

5年弱 前

解決済み


Calculate the h-index
H-index is a powerful tool for quantifying the scientific contribution of a researcher. H-index is defined as follows (source - ...

5年弱 前

質問


How to find the inclination of the back bone in the attached image?
Hello Everyone... Greetings... I am working with some medical imaging problems. I want to rotate the given image after finding...

5年以上 前 | 2 件の回答 | 0

2

回答

回答済み
Are you able to count the number of pixels in a 3D plot?
@ sui zhi lau, Outside Loop totalData = 0; whitePixData = 40*40*40; Inside Loop redPixData(y) = sum(sqrt(((dx(:,i+1) - dx(:...

6年弱 前 | 0

回答済み
how i create a 7 images database and compare with a input image and also save it in a.mat file
Hello Indrani, the code you are using has sepecific format for finger print file reading. you are using dataset DB1 from 'FVC20...

6年弱 前 | 0

回答済み
How to run the same code for color image.is any one help me.
@ indrani dalui Try the attached file.

6年弱 前 | 0

回答済み
how i create a 7 images database and compare with a input image and also save it in a.mat file
% ICount - Number of FingerPrints % JCount - Number of Images Per FingerPrintICount=7; ICount = 7; JCount = 7; p=0; for...

6年弱 前 | 0

| 採用済み

回答済み
Simple Iterative expression needed solved
w = 1; y = 0; while(y < 10000) % your equation y = sqrt(10*w*w - 4*w + 2); w = w + 1; end disp(w) disp(y)

6年弱 前 | 0

回答済み
How to plot two trajectories in Matlab?
Hello Sarah Hamdan, Don't paste code as a image, use option 'Insert aline code' Don't 2 different function body with same func...

6年弱 前 | 2

回答済み
How to build on an existing struct 4x4xn matrix?
Hello Happy PhD, Try this one... clc; clear all; A.G(:,:,1) = [1 2 1 1 ; 4 9 5 6 ]; A.G(:,:,2) = [0 1 0 0; 0 6 0 0]; A.G...

6年弱 前 | 0

| 採用済み

回答済み
Help with Image Processing code
Hello BERG, here is code, you code only bit modified . Use the attached 'mask.bmp' image. clc; % Clear command window. clea...

6年弱 前 | 0

| 採用済み

回答済み
Using solve to solve a complex trigonometric equation
Hello Junha Kim, syms x; assume(x>=0 & x<=2*pi); eqn = cos(x)*(1-sin(x)) == 0; [solx, parameters, conditions] = solve(eqn,...

6年弱 前 | 0

| 採用済み

回答済み
Not sure why my code results in a wrong figure. I am trying to simulate 2 dice rolls and counting how many times it takes to roll 2 6s out 10000 trials.
Hello Enkhdul Batkhuyag, Try this one - num_trial=10000; num_until_success=0; for i=1:num_trial,i roll_1=randi(6,1);ro...

6年弱 前 | 0

| 採用済み

回答済み
Save the values of a function in a for loop
Hell Austin Hernandez, you are correct. but Option01 is good. Option 01: function for_test x = 0:1:10; y = zeros(size(x)) ;...

6年弱 前 | 0

| 採用済み

回答済み
Please someone tell me what's wrong with my code, it keeps on returning the message, ''Unrecognized variable of v''. The image below the code is the problem?
Hello There is a problem in the calculation of 'y' in function 'DTask1_f' Calculated value first value is around 2.4, but it ...

6年弱 前 | 0

| 採用済み

回答済み
Hello I need help with for loop incrementing. Filterbanks
Hello Trevon Alvarado, f0=1600; f1=7600; fs=20000; t=0:1/fs:0.5-(1/fs); x1=1*sin(2*pi*f0*t); x2=1*sin(2*pi*f1*t); xin=x...

6年弱 前 | 0

さらに読み込む