Community Profile

photo

David Kusnirak


Last seen: 2 years ago Active since 2012

Statistics

All
  • Thankful Level 3
  • First Answer
  • Solver

View badges

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

5 years ago | 1 answer | 0

1

answer

Solved


radius of a spherical planet
You just measured its surface area, that is the input.

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

6 years 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

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

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

6 years 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://...

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

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

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

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

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

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

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

6 years 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 &#...

6 years ago

Solved


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

6 years ago

Solved


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

7 years 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]

7 years ago

Solved


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

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

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

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

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

10 years ago | 3 answers | 0

3

answers

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

11 years ago | 1 answer | 0

1

answer

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

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

11 years ago | 1 answer | 0

1

answer

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

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

11 years ago | 1 answer | 0

1

answer

Answered
discrete second order derivative operator for unequally spaced data
Thanks for hints. However I'm not as interested in the solution as in the operator itself, I need to know how does it look and w...

11 years ago | 0

Answered
How can I move the position of my GUI on the screen from the default?
hi, try to change units from pixels to normalized for example set(handles.figure_main,'Units', 'normalized'); se...

11 years ago | 0

Load more