Community Profile

# Marko

### TU Wien

Last seen: 2 days ago Active since 2016

interested in maths, algorithms and fluid dynamics

All

#### Content Feed

View by

Question

solve efficiently sparse large linear system of equations
Hello Community, i have a large sparse block structured matrix. with this quadratic sparse Matrix L: is there any faster wa...

17 days ago | 2 answers | 0

### 2

set efficently specific rows in a sparse matrix to 0
here are the benchmark results: ver Var2 ___ _____ 1 2.242 2 NaN 3 0.87 for v...

17 days ago | 0

Question

set efficently specific rows in a sparse matrix to 0
Hello comunity, I have a sparse matrix J and i want to set specific rows to 0. My code's like this: J = sparse(blkdiag(rand(1...

17 days ago | 2 answers | 0

### 2

Question

function interpolation and root finding
Hello community, i have 37 points in in the interval [-.5 .5]. and i'm looking for a minimum. I have written a script which use...

2 months ago | 1 answer | 0

### 1

Question

testing SVD Performance on M1
Hello Community, here is a script for testing the M1 performance on solving a SVD Problem. (Parallel Computing Toolbox is requi...

3 months ago | 0 answers | 0

### 0

Question

vectorize a for loop
Hello Community, i need ur help, to speed up a routine. i have n points in space and i need the distances between all points. ...

5 months ago | 1 answer | 0

### 1

Question

Solve large linear equations with backslash operator. Why is sparse matrix solved slower than the full matrix?
Hello Community and Staff, maybe somebody could explain to me why sparse matrix operation for a not so well condidioned matrix ...

7 months ago | 1 answer | 0

### 1

Question

2d Chebyshev polynomial interpolation
Hello Community, may i ask you for your help. I have a full matrix M with the N+1 number of elments in each direction. The x...

7 months ago | 0 answers | 0

### 0

Solved

Calculate Amount of Cake Frosting
Given two input variables |r| and |h|, which stand for the radius and height of a cake, calculate the surface area of the cake y...

7 months ago

Solved

Calculate BMI
Given a matrix |hw| (height and weight) with two columns, calculate BMI using these formulas: * 1 kilogram = 2.2 pounds * 1 ...

7 months ago

Solved

Calculate Inner Product
Given two input matrices, |x| and |y|, check if their inner dimensions match. * If they match, create an output variable |z|...

7 months ago

Solved

Solve a System of Linear Equations
*Example*: If a system of linear equations in _x&#8321_ and _x&#8322_ is: 2 _x&#8321;_ + _x&#8322;_ = 2 _x&#8321;...

7 months ago

Solved

Find the Oldest Person in a Room
Given two input vectors: * |name| - user last names * |age| - corresponding age of the person Return the name of the ol...

7 months ago

Solved

Convert from Fahrenheit to Celsius
Given an input vector |F| containing temperature values in Fahrenheit, return an output vector |C| that contains the values in C...

7 months ago

Question

how to create a symbolic derivative of f(r(x,y),theta(x,y)) and evaluate it
Hello Community, i have some more or less complicated funtions, e.g. a simple one: f(r,theta) = r*(pi*cos(theta)+2*sin(theta))...

8 months ago | 1 answer | 0

### 1

Question

solve large sparse jacobian matrix (with an example)
Hello Community, do you have a good suggestion if an iterative solver would be faster. This jacobian J with ( N = 32 ) took me...

9 months ago | 1 answer | 0

### 1

Question

get ridoff "for loops" while defining matrices elements, incl. improvement and reference
Hello Community, is it possible to write a code which is faster than my version? function D = Dp(N) D = (zeros(N-1,N-1)); fo...

9 months ago | 1 answer | 0

### 1

Question

simple Matrix manipulation without for-loop needed
Hello Community, i need your help. I have a matrix which size is (N+1,N+1). I have also some vectors with different length. Th...

9 months ago | 1 answer | 0

### 1

Question

extract elements and build the remain vector
Hello Community, i need your help. A vector v has 128 elements with random numbers. The elements of index 1 21 31 41 should ...

9 months ago | 2 answers | 0

### 2

Solved

Make a full wave rectifier
Produce a full wave rectifier waveform for the given sine wave source. For a sine wave input, the output of the full wave rec...

5 years ago

Solved

Create an index-powered vector
Given a input vector x, return y as index-powered vector as shown below. Example x = [2 3 6 9] then y should be [...

5 years ago

Solved

Model a mass spring system
Model an ideal mass-spring system shown below where the spring is initially stretched. <<http://blogs.mathworks.com/images/se...

5 years ago

Solved

Model a falling body
An object is falling freely from a height of 22 meters under the force of gravity. <<http://blogs.mathworks.com/images/seth/c...

5 years ago

Solved

Produce the following signal: <<http://blogs.mathworks.com/images/seth/cody/add-offset-eqn.png>> You should see a downward...

5 years ago

Solved

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

5 years ago

Solved

merge two matrices together in one matrix
a= [1 2 3 4]; b=[5 6 7 8]; take the first column from matrix (a)and (b)then insert them in matrix (c) respectively, and so on;...

5 years ago

Solved

angle in regular polygon
Make a function which returns measure of interior angle in x-side regular polygon. x is as input. Please pay attention, that 1 ...

5 years ago

Solved

Find max
Find the maximum value of a given vector or matrix.

5 years ago

Solved

Number of Horns on a unicorn!
Calculate the number of horns on a *unicorn*! And I'm talking about a unicorn with not more than one horn on it!

5 years ago

Solved

Compute total cost
A soda costs 2 dollars. A taco costs 3 dollars. Write a statement that assigns totalCost with the total meal cost given the numb...

5 years ago