Resuelto


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

más de 2 años hace

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

casi 4 años hace | 0

Resuelto


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

más de 4 años hace

Resuelto


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

más de 4 años hace

Resuelto


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

más de 4 años hace

Resuelto


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

más de 4 años hace

Resuelto


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

más de 4 años hace

Resuelto


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

más de 4 años hace

Resuelto


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

más de 4 años hace

Resuelto


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

más de 4 años hace

Resuelto


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

más de 4 años hace

Resuelto


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

más de 4 años hace

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

más de 4 años hace | 0

Resuelto


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

casi 5 años hace

Resuelto


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

casi 5 años hace

Resuelto


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

casi 5 años hace

Pregunta


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

más de 5 años hace | 2 respuestas | 0

2

respuestas

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

más de 5 años hace | 0

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

más de 5 años hace | 0

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

más de 5 años hace | 0

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

más de 5 años hace | 0

| aceptada

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

casi 6 años hace | 0

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

casi 6 años hace | 2

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

casi 6 años hace | 0

| aceptada

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

casi 6 años hace | 0

| aceptada

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

casi 6 años hace | 0

| aceptada

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

casi 6 años hace | 0

| aceptada

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

casi 6 años hace | 0

| aceptada

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

casi 6 años hace | 0

| aceptada

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

casi 6 años hace | 0

Cargar más