Answered

Add various horizontal lines to a plot

If you want the line to have specific end points, you can use the line function. For example, this code draws a horizontal line ...

Add various horizontal lines to a plot

If you want the line to have specific end points, you can use the line function. For example, this code draws a horizontal line ...

11 months ago | 8

| accepted

Answered

Run Matlab without Admin rights?

This thread is a bit old, but I had the same problem and just found a solution. It's related to this <https://ch.mathworks.com/...

Run Matlab without Admin rights?

This thread is a bit old, but I had the same problem and just found a solution. It's related to this <https://ch.mathworks.com/...

2 years ago | 1

Submitted

Cell resolved Matlab OOP model of a lithium iron phosphate battery pack

Collection of classes stored in a package "lfpBattery".

2 years ago | 2 downloads |

Answered

Matlab R2017b has problems with GIT and the configuration file when starting.

Thanks to Mathworks support: I had my MATLAB_PATH environment variable pointing to jre7 (I had set it manually because of an ...

Matlab R2017b has problems with GIT and the configuration file when starting.

Thanks to Mathworks support: I had my MATLAB_PATH environment variable pointing to jre7 (I had set it manually because of an ...

2 years ago | 2

Question

Matlab R2017b has problems with GIT and the configuration file when starting.

Hi, When I open Matlab R2017b (after a fresh install), it fails to start GIT and to read the desktop config file. I get the b...

2 years ago | 1 answer | 0

Submitted

TCP/IP client/server connection between Matlab and IEC 16499 CLIENT/SERVER FBs running on FORTE

The transferred byte-data is automatically translated to the respective data types.

2 years ago | 1 download |

Submitted

expandaxes

More reliable implementation of the option "expand axes to fill figure"

2 years ago | 6 downloads |

Submitted

shortcut2figtool

function for creating shortcuts to figure toolbar buttons (useful for docked figures)

2 years ago | 0 downloads |

Submitted

MrcJkb/tldeccheck

For adjusting the amount of decimals in TickLabels

2 years ago | 0 downloads |

Submitted

TODOS

Use tags in code comments to create notes/todos and display links to them in the command window.

2 years ago | 2 downloads |

Submitted

mtype340

Model of a thermal storage tank based on the TRNSYS "MULTIPORT Store-Model" Type 340 by H. Drueck

3 years ago | 3 downloads |

Solved

Sorting

Assume that x is an n-by-2 matrix. The aim is to return the first column of x, but sorted according to the second column. Exa...

3 years ago

Solved

Vectorizing, too easy or too hard?

Please insert a . before any ^, * or / in the string. That's it!!

3 years ago

Solved

does it touch ?

given a sentence, tell how much it touches. input : string output : how much it touches touching : a bilabial phoneme d...

3 years ago

Solved

Multiply a column by a row

* Given a column vector C and and a row vector R. * Output a matrix M. * Every column of M equals to C multiplied by correspon...

3 years ago

Solved

Derive Me Crazy

Given a polynomial, output its derivative. Example: input = [1 0 0] % x^2 output = [2 0] % 2x

3 years ago

Solved

Marvel or DC?

Given input vector determine if there's a DC value. If there is, output 'DC', else output 'MARVEL'

3 years ago

Solved

Who is the smartest MATLAB programmer?

Who is the smartest MATLAB programmer? Examples: Input x = 'Is it Obama?' Output = 'Me!' Input x = 'Who ?' Ou...

3 years ago

Solved

I told you not separate me, but you did :( - ACDC

Given input vector, output it's DC and AC value Example: input = 0 1 -1 0 ac = 0 1 -1 0 dc = 0

3 years ago

Solved

Solve the Sudoku Row

*Description* A simple yet tedious task occurs near the end of most Sudoku-solving algorithms, computerized or manual. The ta...

3 years ago

Solved

Get all prime factors

List the prime factors for the input number, in decreasing order. List each factor. If the prime factor occurs twice, list it as...

3 years ago

Answered

Colorbar not plotting the right colours

You cannot create a colorbar for bar() graphs in Matlab. What you can do is use a loop to create a separate bar graph for each ...

Colorbar not plotting the right colours

You cannot create a colorbar for bar() graphs in Matlab. What you can do is use a loop to create a separate bar graph for each ...

3 years ago | 0

Answered

How does one save a struct type to an individual cell inside a table?

Have you tried converting the struct to a cell? doc struct2cell

How does one save a struct type to an individual cell inside a table?

Have you tried converting the struct to a cell? doc struct2cell

3 years ago | 0

Solved

length of string on cylinder

A cylinder H cm high has a circumference of C cm. A string makes exactly N complete turns round the cylinder while its two ends ...

3 years ago

Solved

Binary

Given a positive, integer n, create a function that returns the respective binary number in the form of a vector. Example: ...

3 years ago

Solved

Cody Matlab Version

What is the current Cody Matlab Release? *Output:* string *Examples:* '(R2012a)' or 'R2012a' Hint: We have mo...

3 years ago

Solved

Make sorting matrix without sort function.

It is very valuable for student to simple sorting program because they learn about use of loop and if-statement. Sort given inpu...

3 years ago

Solved

Create an index-powered vector

Given a input vector x, return y as index-powered vector as shown below. Example x = [2 3 6 9] then y should be [...

3 years ago