Gelöst


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

fast 3 Jahre vor

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

etwa 4 Jahre vor | 0

Gelöst


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

mehr als 4 Jahre vor

Gelöst


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

mehr als 4 Jahre vor

Gelöst


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

mehr als 4 Jahre vor

Gelöst


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

mehr als 4 Jahre vor

Gelöst


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

mehr als 4 Jahre vor

Gelöst


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

mehr als 4 Jahre vor

Gelöst


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

mehr als 4 Jahre vor

Gelöst


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

mehr als 4 Jahre vor

Gelöst


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

mehr als 4 Jahre vor

Gelöst


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

mehr als 4 Jahre vor

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

fast 5 Jahre vor | 0

Gelöst


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

etwa 5 Jahre vor

Gelöst


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

etwa 5 Jahre vor

Gelöst


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

etwa 5 Jahre vor

Frage


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

fast 6 Jahre vor | 2 Antworten | 0

2

Antworten

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

fast 6 Jahre vor | 0

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

fast 6 Jahre vor | 0

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

fast 6 Jahre vor | 0

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

fast 6 Jahre vor | 0

| akzeptiert

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

fast 6 Jahre vor | 0

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

fast 6 Jahre vor | 2

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

fast 6 Jahre vor | 0

| akzeptiert

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

fast 6 Jahre vor | 0

| akzeptiert

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

fast 6 Jahre vor | 0

| akzeptiert

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

fast 6 Jahre vor | 0

| akzeptiert

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

fast 6 Jahre vor | 0

| akzeptiert

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

fast 6 Jahre vor | 0

| akzeptiert

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

fast 6 Jahre vor | 0

Mehr laden