Community Profile

photo

Katalin


Aktiv seit 2015

Statistiken

All
  • Knowledgeable Level 2
  • First Answer
  • Commenter
  • Promoter
  • Solver

Abzeichen anzeigen

Content Feed

Anzeigen nach

Beantwortet
getting min & max of a function for different y's
Try this: x = -10:0.1:10; for i=1:200 y= 0.005*i; f1 = @(x) trapmf(x,[-2 0 0 2])-y; for ij = -10:0.01:10 ...

fast 9 Jahre vor | 0

Beantwortet
Is it possible to numerically label a segmented image?
Hello! Try this: M = im2uint8(label/NUM); imshow(M) s = regionprops(M, 'Centroid'); hold on for k...

fast 9 Jahre vor | 0

| akzeptiert

Beantwortet
How to orthogonalize a signal in respect of another signal ????
Hello! Have a look at this thread: <http://www.mathworks.com/matlabcentral/answers/2216-projecting-a-vector-to-another-vecto...

fast 9 Jahre vor | 0

Beantwortet
Why is my function not defining my outputs and just returning "ans"?
In the script where you are using the function you need to define a variable e.g ABC = noise_removal(data); Then it will ...

fast 9 Jahre vor | 0

| akzeptiert

Beantwortet
Binning 2D set of coordinates
imagesc flips the image I think. This is from the help: imagesc(x,y,C) displays C as an image and specifies the bounds of the x-...

fast 9 Jahre vor | 0

Beantwortet
How to convert 27625 to base 10 from base 7 ?
It cannot have number 7 in it if it is in base 7. Otherwise you would do it like this: base2dec('26625',7)

fast 9 Jahre vor | 2

| akzeptiert

Beantwortet
How to shift date-time variable to a common start-date/time
Try this: shifted_date = datetime(actual_dates) - t_diff

fast 9 Jahre vor | 2

Beantwortet
Matlab crashes on me every time I get an error message in the command window.
Also, looking at the crash log generated by matlab could help to find the reason. Look at this thread: http://www.mathworks.com...

fast 9 Jahre vor | 0

Beantwortet
My code primarily depends on the diameter or "d" as it is defined, however changing it to a smaller value beyond 0.001, all the results just go to infinity. How do i get around the rounding issue (it seems) ?
I think it's not a rounding issue. In Vy(i+1) = (Cd*A*rho*(Uy-Vy(i))^2*dt)/(2*m) + Vy(i); The fraction (Cd*A*rho*dt)/(2*m) is ...

fast 9 Jahre vor | 0

Gelöst


Simple equation: Annual salary
Given an hourly wage, compute an annual salary by multiplying the wage times 40 and times 50, because salary = wage x 40 hours/w...

fast 9 Jahre vor

Gelöst


Area of an equilateral triangle
Calculate the area of an equilateral triangle of side x. <<http://upload.wikimedia.org/wikipedia/commons/e/e0/Equilateral-tr...

fast 9 Jahre vor

Gelöst


Area of an Isoceles Triangle
An isosceles triangle has equal sides of length x and a base of length y. Find the area, A, of the triangle. <<http://upload...

fast 9 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? <<http://upload.wikimedia.org/wikipe...

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

fast 9 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. <<http://upload....

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

fast 9 Jahre vor

Gelöst


Select every other element of a vector
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...

fast 9 Jahre vor

Gelöst


Fibonacci sequence
Calculate the nth Fibonacci number. Given n, return f where f = fib(n) and f(1) = 1, f(2) = 1, f(3) = 2, ... Examples: Inpu...

fast 9 Jahre vor

Gelöst


Triangle Numbers
Triangle numbers are the sums of successive integers. So 6 is a triangle number because 6 = 1 + 2 + 3 which can be displa...

fast 9 Jahre vor

Gelöst


Create a Matrix of Zeros
Given an input x, create a square matrix y of zeros with x rows and x columns.

fast 9 Jahre vor

Gelöst


Normalize by maximum
Subtract the maximum value in a column from the corresponding columns of a matrix.

fast 9 Jahre vor

Gelöst


Determine if input is odd
Given the input n, return true if n is odd or false if n is even.

fast 9 Jahre vor

Gelöst


Make a checkerboard matrix
Given an integer n, make an n-by-n matrix made up of alternating ones and zeros as shown below. The a(1,1) should be 1. Example...

fast 9 Jahre vor

Gelöst


Add two numbers
Given a and b, return the sum a+b in c.

fast 9 Jahre vor

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 9 Jahre vor

Gelöst


Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

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

etwa 9 Jahre vor

Gelöst


Is my wife right?
Regardless of input, output the string 'yes'.

etwa 9 Jahre vor

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

etwa 9 Jahre vor