Community Profile Darina Bartova

Last seen: ein Tag ago Active since 2021

working for UCT Prague

Programming Languages:
MATLAB
Spoken Languages:
English

Statistics

• • • Content Feed

View by

Solved

Linear system of equations
Solve the system of equations in three variables.

ein Tag ago

Solved

First N Perfect Squares
*Description* Return the first N perfect squares *Example* input = 4; output = [ 1 4 9 16 ];

ein Tag ago

Solved

Perfect square.
Determine if the input is a perfect square or not. Example - If input is 25, return 1. If input is 17, return 0.

ein Tag ago

Solved

Area of a Square
Given the length x of the side of a regular square, find the area of the square, A.

ein Tag ago

Solved

string comparision
compare two strings if both are same return 1 else return 0

10 Tage ago

Solved

Create sequnce 1 4 9 16 25.........
Create sequnce 1 4 9 16 25......... upto entered input value using matlab scripting commands. Let y be output and x be input

10 Tage ago

Solved

y equals x divided by 2
function y = x/2

10 Tage ago

Solved

05 - Vector Equations 2
Define the vectors _aVec_ and _bVec_: <<http://samle.dk/STTBDP/Assignment1_2a.png>> and <<http://samle.dk/STTBDP/Assig...

10 Tage ago

Solved

Kinetic Energy
Given the mass m and velocity v of an object, determine its <http://en.wikipedia.org/wiki/Kinetic_energy kinetic energy>.

10 Tage ago

Solved

Factorial Numbers
Factorial is multiplication of integers. So factorial of 6 is 720 = 1 * 2 * 3 * 4* 5 *6 Thus 6 factorial = factorial(720)....

10 Tage ago

Solved

Sum the squares of numbers from 1 to n
For a given value of n return the sum of square of numbers from 1 to n. Example For n = 2 then sum of squares = 5 (1^2 + ...

10 Tage ago

Solved

Divide by 4
Given the variable x as your input, divide it by 4 and put the result in y.

10 Tage ago

Solved

Square the input
Given a scalar or vector x, return the square of each element. Example x = [7 2] answer = [49 4]

10 Tage ago

Solved

Square a Number
Given an input x, return y, which is equal to the square of x.

10 Tage ago

Solved

What's size of TV?
Many people buy TV. Usually they ask about diagonal. But also important are width and height. Let's assume that all TV have rati...

10 Tage ago

Solved

Frobenius Norm
Write your own version of Frobenius Norm without using the 'norm' function.

11 Tage ago

Solved

Find the "ordinary" or Euclidean distance between A and Z
A, B and Z define three points in the 3D _Euclidean_ space of the form: A = [x1;y1;0]; B = [x2;y2;0]; Z = [x2;y2;z]; Find th...

11 Tage ago

Solved

Free-time Equation
Given a 7-day week, an *_nc_* -number of *_tc_* -hour classes, *_ta_* -hours awake in a day, and *_tw_* -hours that you work in ...

11 Tage ago

Solved

Close MATLAB with keyboard
Close MATLAB with keyboard without using mouse

19 Tage ago

Solved

An Ohm's Law Calculator
*BACKGROUND / MOTIVATION:* Many important observations in math and science can be described by short, but powerful, equations...

19 Tage ago

Solved

You just measured its surface area, that is the input.

19 Tage ago

Solved

All your base are belong to us
Find the base _b_ logarithm of the input decimal number _x_. Express the output as a decimal number. The first argument is the n...

19 Tage ago

Solved

Temperature Conversion 3

19 Tage ago

Solved

Center of mass
Given a matrix M(m,n), where m is the number of vertices of the geometrical element and n is 2 or 3 (2D-plane figure or 3D-solid...

etwa ein Monat ago

Solved

Evaluating a polynomial
Given the following polynomial and the value for x, determine y. y = 3x^5 – x^3 + 8x – 3 Example x = 1 y = 3 - 1 +...

etwa 2 Monate ago

Solved

length of a vector
Find twice the length of a given vector.

etwa 2 Monate ago

Solved

Min of a Matrix
Return the minimum value in the given matrix.

etwa 2 Monate ago

Solved

Create cosine function out of sine

etwa 2 Monate ago

Solved

Sunday bonus
Submit a solution on any Sunday and you will get 10 points. Only for MATLAB fans!

etwa 2 Monate ago

Solved

Back to basics 8 - Matrix Diagonals
Covering some basic topics I haven't seen elsewhere on Cody. Given an input vector of numbers, output a square array with the...

etwa 2 Monate ago