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

Answered

Large error between exact analytic answer and numeric integration

I rarely work with differential equations but you should check your basic equation again. For some reason you have a 1D harmo...

Large error between exact analytic answer and numeric integration

I rarely work with differential equations but you should check your basic equation again. For some reason you have a 1D harmo...

8 years ago | 0

Answered

empty sparse matrix with size greater than (100000,100000) needs overhead space

for i = 1:20 A = sparse(10^i,10^i); etc. end It seems that you are being a little optimistic in trying to ...

empty sparse matrix with size greater than (100000,100000) needs overhead space

for i = 1:20 A = sparse(10^i,10^i); etc. end It seems that you are being a little optimistic in trying to ...

8 years ago | 0

Question

Semiautomatic complex-step differentiation of real-valued functions

I found the linked technical article interesting but don't have the mathematical background to determine how useful it may reall...

8 years ago | 1 answer | 1

Answered

how to load 150mb file in matlab

Probably not. Assuming you are using Windows, the operating system overhead, MATLAB's overhead, and storage requirements for you...

how to load 150mb file in matlab

Probably not. Assuming you are using Windows, the operating system overhead, MATLAB's overhead, and storage requirements for you...

8 years ago | 0

Question

Fixed point numbers on plot axes

Doubtless this has been answered somewhere already, but I haven't found it. Is there a simple way to display numbers in fixed...

9 years ago | 1 answer | 0

Answered

Conversion of ascii and hex

dec2hex(uint8('a')) char(hex2dec('61')) Also consult the documentation on character arrays.

Conversion of ascii and hex

dec2hex(uint8('a')) char(hex2dec('61')) Also consult the documentation on character arrays.

9 years ago | 1

Answered

How to measure and generate a frequency signal through the digital channels on the NI daq card

National Instruments makes many DAQ boards. You'll have to be more specific. And you will likely need either MATLAB's Data Ac...

How to measure and generate a frequency signal through the digital channels on the NI daq card

National Instruments makes many DAQ boards. You'll have to be more specific. And you will likely need either MATLAB's Data Ac...

9 years ago | 0

Answered

Does MATLAB have a Birthday Problem?

Using the formula Walter gives leads to the following numbers for a 50% probability: 32-bit 7.716e4 53-bit 1.112e8 57...

Does MATLAB have a Birthday Problem?

Using the formula Walter gives leads to the following numbers for a 50% probability: 32-bit 7.716e4 53-bit 1.112e8 57...

9 years ago | 0