Solved

Create a Multiplication table matrix...

Create a product table in this format: P = [ 1 2 3 4 5; 2 4 6 8 10; 3 6 9 12 15; 4 8 12 1...

2 years ago

Question

Simulink Mask Support for SVG images - doesn't work fully

I have seen the use of svg (scalable vector graphics) images in new Simulink blocks (for e.g. the Hydraulics fluid block in Sims...

2 years ago | 1 answer | 0

Question

Suppress command window output in matlab live editor in 2016a

I started using the live editor in 2016a. I am running a simulation in the live script and then doing some plotting. However, wh...

3 years ago | 1 answer | 0

Solved

Swap the first and last columns

Flip the outermost columns of matrix A, so that the first column becomes the last and the last column becomes the first. All oth...

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

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

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

4 years ago

Answered

INTERNAL ERROR. Failed assertion in sfdb_breakpoints.c at line 35: (script->bm.breakpoints).length>(unsigned int)(lineNumber-1)

I ran into this error as well (I'm running 2012b 64 bit). It went away when I restarted Matlab. That's the only solution I'v...

INTERNAL ERROR. Failed assertion in sfdb_breakpoints.c at line 35: (script->bm.breakpoints).length>(unsigned int)(lineNumber-1)

I ran into this error as well (I'm running 2012b 64 bit). It went away when I restarted Matlab. That's the only solution I'v...

6 years ago | 1

| accepted

Answered

Viewing variables in debug window disables Aero interface

Not an answer but I also have this same problem. I am using HP8570w with Win7 64 bit, 16gb RAM, nvidia quadro k1000m, 1920x1...

Viewing variables in debug window disables Aero interface

Not an answer but I also have this same problem. I am using HP8570w with Win7 64 bit, 16gb RAM, nvidia quadro k1000m, 1920x1...

6 years ago | 0

Question

Create custom arduino simulink blocks to use existing arduino libraries

Is there a tutorial on how to create custom simulink blocks that encode standard arduino libraries, such as the lcd display libr...

7 years ago | 3 answers | 0

Solved

Scoring for oriented dominoes

Given a list of ordered pairs, and the order they should be placed in a line, find the sum of the absolute values of the differe...

7 years ago

Solved

Flag largest magnitude swings as they occur

You have a phenomenon that produces strictly positive or negative results. delta = [1 -3 4 2 -1 6 -2 -7]; Marching thr...

7 years ago

Solved

Implement simple rotation cypher

If given a letter from the set: [abc...xyz] and a shift, implement a shift cypher. Example: 'abc' with a shi...

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

7 years ago

Solved

Determine if input is odd

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

7 years ago