Community Profile

photo

Aneesh Singhal


--

Active since 2015

Followers: 0   Following: 0

Message

Statistics

All
  • Promoter
  • Solver

View badges

Feeds

View by

Question


Passing an input after making exe
How to pass a date as an input which will be used in sql statement for an exe file made out of m-file?

7 years ago | 1 answer | 0

1

answer

Question


Is it possible to connect to 64bit database using 32bit ODBC driver from 64bit MATLAB 2011a?
Is it possible to connect to 64bit database using 32bit ODBC driver from 64bit MATLAB 2011a?

7 years ago | 0 answers | 0

0

answers

Question


ODBC connection with 32bit client?
I have 2011a 64bit version of MATLAB. My code connects to database using ODBC connection. I am trying to run exe file made out o...

7 years ago | 1 answer | 0

1

answer

Question


Plotting points with polar coordinates
<</matlabcentral/answers/uploaded_files/42495/polar.png>> I have polar coordinates of points with different radius. I want a ...

8 years ago | 1 answer | 0

1

answer

Solved


Return the 3n+1 sequence for n
A Collatz sequence is the sequence where, for a given number n, the next number in the sequence is either n/2 if the number is e...

8 years ago

Solved


Most nonzero elements in row
Given the matrix a, return the index r of the row with the most nonzero elements. Assume there will always be exactly one row th...

8 years ago

Solved


Finding Perfect Squares
Given a vector of numbers, return true if one of the numbers is a square of one of the other numbers. Otherwise return false. E...

8 years ago

Solved


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

8 years ago

Solved


Determine whether a vector is monotonically increasing
Return true if the elements of the input vector increase monotonically (i.e. each element is larger than the previous). Return f...

8 years ago

Solved


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

8 years ago

Solved


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

8 years ago

Solved


Summing digits
Given n, find the sum of the digits that make up 2^n. Example: Input n = 7 Output b = 11 since 2^7 = 128, and 1 + ...

8 years ago

Question


How to make a 3D figure of a furnace which has temperature displayed on its surface?
I have temperature data from thermocouples which are at different height on the surface of furnace. I know their respective heig...

8 years ago | 0 answers | 0

0

answers

Solved


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

8 years ago

Solved


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

8 years ago

Solved


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

8 years ago

Solved


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

8 years ago

Solved


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

8 years ago

Solved


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

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

8 years ago