Community Profile

# David Kusnirak

Last seen: meer dan een jaar ago Active since 2012

All

#### Content Feed

View by

Question

Matlab COM connection using an actxserver
Hello, I'm running a Matlab script to invoke an another software (Surfer) to calculate grids from data. The code was download...

meer dan 4 jaar ago | 1 answer | 0

### 1

Solved

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

bijna 5 jaar ago

Solved

Circle/Pentagon Overlap
Your function will be provided with the five vertices of a pentagon (p) as well as the center point (cp) and radius (r) of a cir...

ongeveer 5 jaar ago

Solved

Back to basics - mean of corner elements of a matrix
Calculate the mean of corner elements of a matrix. e.g. a=[1 2 3; 4 5 6; 7 8 9;] Mean = (1+3+7+9)/4 = 5

ongeveer 5 jaar ago

Solved

Number of Even Elements in Fibonacci Sequence
Find how many even Fibonacci numbers are available in the first d numbers. Consider the following first 14 numbers 1 1 2...

ongeveer 5 jaar ago

Solved

The 5th Root
Write a function to find the 5th root of a number. It sounds easy, but the typical functions are not allowed (see the test su...

ongeveer 5 jaar ago

Solved

Spot the First Occurrence of 5
This problem series invites you to solve two simple problems related to the integer NUMBER FIVE, in order to celebrate <https://...

ongeveer 5 jaar ago

Solved

A Simple Tide Gauge with MATLAB
*&#8767 &#8767 &#8767 &#8767 &#8767 &#8767 &#8767 &#8767* You are standing in a few inches of sea water on a beach. You a...

ongeveer 5 jaar ago

Solved

Is this is a Tic Tac Toe X Win?
For the game of <https://en.wikipedia.org/wiki/Tic-tac-toe Tic Tac Toe> we will be storing the state of the game in a matrix M. ...

ongeveer 5 jaar ago

Solved

Extra safe primes
Did you know that the number 5 is the first safe prime? A safe prime is a prime number that can be expressed as 2p+1, where p is...

ongeveer 5 jaar ago

Solved

Pentagonal Numbers
Your function will receive a lower and upper bound. It should return all pentagonal numbers within that inclusive range in ascen...

ongeveer 5 jaar ago

Solved

Tick. Tock. Tick. Tock. Tick. Tock. Tick. Tock. Tick. Tock.
Submit your answer to this problem a multiple of 5 seconds after the hour. Your answer is irrelevant; the only thing that matte...

ongeveer 5 jaar ago

Solved

Pernicious Anniversary Problem
Since Cody is 5 years old, it's pernicious. A <http://rosettacode.org/wiki/Pernicious_numbers Pernicious number> is an integer w...

ongeveer 5 jaar ago

Solved

Energy of a photon
*&#9883 &#9762 &#9883 &#9762 &#9883 &#9762 &#9883* Given the frequency F of a photon in giga hertz. Find energy E of this...

ongeveer 5 jaar ago

Solved

Basic electricity in a dry situation
&#9889 &#9889 &#9889 &#9889 &#9889 &#9889 &#9889 &#9889 &#9889 &#9889 &#9889 &#9889 &#9889 &#9889 &#9889 &#9889 &#9889 &#9889 &#...

ongeveer 5 jaar ago

Solved

How to subtract?
*&plusmn &plusmn &plusmn &plusmn &plusmn &plusmn &plusmn &plusmn &plusmn &plusmn &plusmn* * Imagine you need to subtract one...

ongeveer 5 jaar ago

Solved

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

meer dan 5 jaar ago

Solved

Reverse the vector
Reverse the vector elements. Example: Input x = [1,2,3,4,5,6,7,8,9] Output y = [9,8,7,6,5,4,3,2,1]

ongeveer 6 jaar ago

Solved

Circle area using pi
Given a circle's radius, compute the circle's area. Use the built-in mathematical constant pi.

ongeveer 6 jaar ago

Solved

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

meer dan 7 jaar ago

Solved

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

meer dan 7 jaar ago

Solved

Balanced number
Given a positive integer find whether it is a balanced number. For a balanced number the sum of first half of digits is equal to...

bijna 9 jaar ago

Question

How to create Gauss noise within the interval
I have an interval with lower boundary at a = -0.005 and upper boundary b = 0.005. I need to create the Gauss white noise within...

meer dan 9 jaar ago | 3 answers | 0

### 3

Question

cell multiplication with a vector
Hi, I have a cell structure (Aa), where each cell is a square sparse matrix and I need to multiply each cell with a vector (f...

meer dan 9 jaar ago | 1 answer | 0

### 1

How to increase font size on MacBook Pro Retina Display 15" (Matlab 2013a)?
In the home menu find the preferences button, there you can change the font size.

bijna 10 jaar ago | 0

Question

How to reduce number of loops
Hello, I have code, which assembles coefficients into large sparse matrix. My coding seems to be inefficient as I use 3 loops...

bijna 10 jaar ago | 1 answer | 0

### 1

How can I save my data in my editboxes to my .mat file?
Hi, if you want to get the written value in the edit box you should use save(filename, get(handles.edit1,'value')); t...

bijna 10 jaar ago | 0

Question

Ax = b for a lot of different b‘s
Hello, I have a system of equation _Ax = b_, where _A_ is very large (n = 3e5 - 8e5) and sparse coefficient matrix, _b_ is so...

bijna 10 jaar ago | 1 answer | 0