Risolto


Sum all integers from 1 to 2^n
Given the number x, y must be the summation of all integers from 1 to 2^x. For instance if x=2 then y must be 1+2+3+4=10.

oltre 3 anni fa

Risolto


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

oltre 3 anni fa

Risolto


Length of the hypotenuse
Given short sides of lengths a and b, calculate the length c of the hypotenuse of the right-angled triangle. <<https://i.imgu...

oltre 3 anni fa

Risolto


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

oltre 3 anni fa

Risolto


Find all elements less than 0 or greater than 10 and replace them with NaN
Given an input vector x, find all elements of x less than 0 or greater than 10 and replace them with NaN. Example: Input ...

oltre 3 anni fa

Risolto


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

oltre 3 anni fa

Risolto


Return area of square
Side of square=input=a Area=output=b

oltre 3 anni fa

Risolto


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

oltre 3 anni fa

Inviato


tableAgent: A chain-method table class in Matlab
@tableAgent: A class for applying chain method on table in Matlab, and providing with many useful methods functions

oltre 5 anni fa | 1 download |

Risposto
Is there a faster way than str2double() to convert from a string array into a matrix containing doubles?
Try this! Fast String to Double Conversion

oltre 5 anni fa | 1

Inviato


Create Matlab Snippet for Your Own Toolbox
For VS Code user, create a matlab-snippet for your ower toolbox.

oltre 5 anni fa | 1 download |

Inviato


bygroupRetimeMonthlyData
For every city or group, this function make sure that each year have 12 months with Matlab

oltre 5 anni fa | 1 download |

Risolto


Joining Ranges
You are given a n-by-2 matrix. Each row represents a numeric range, e.g. x = [0 5; 10 3; 20 15; 16 19; 25 25] contains...

quasi 6 anni fa

Risolto


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

quasi 6 anni fa

Inviato


mergecellkey: Merge cell by key
mergecellkey: Merge cell by key

oltre 11 anni fa | 1 download |

Thumbnail

Inviato


cell2vars: Transform cell to vars
cell2vars: Transform cell's columns' to variables in workplace

quasi 12 anni fa | 1 download |

Thumbnail

Inviato


vars2cell
% PURPOSE: Convert selected variables in matlab workspace to the cell's columns

quasi 12 anni fa | 1 download |

Inviato


strcatrobust: Combine num, char and cell to one cellstr
% B = strcatrobust(1, {'a' 'b'},[2 , 3], 't') % B is {'1a2t' '1b3t'};

circa 12 anni fa | 1 download |

Inviato


idrepetition: Find the index for the repetition terms in a cell
Find the index for the repetition terms in a cell % [ids a] = idrepetition(A) % linrenwen@gmail.co

circa 12 anni fa | 1 download |

Inviato


isrepetition: Determine TRUE or FALSE for repetition terms in a cell
Determine TRUE or FALSE for repetition terms in a cell % tfs = isrepetition(A)

circa 12 anni fa | 0 download |

Inviato


isnumericcell
isnumericcell

circa 12 anni fa | 0 download |

Inviato


xlsx2csv: Transform sheets in xlsx file to csv files
% Transform all sheets in xlsx file to csv files % 把xlsx文件中的表批量转换为csv文件

circa 12 anni fa | 2 download |

Inviato


xlsx2matfile: Transform all sheets in xlsx file to mat files
% xlsx2matfile(pathxlsx) % xlsx2matfile(pathxlsx, pathmat)

circa 12 anni fa | 1 download |

Inviato


xlsx2matfile
Transform all sheets in .xlsx file to .mat file. 把xlsx文件中的表批量转换为mat文件

circa 12 anni fa | 1 download |