Réponse apportée

About parallel computing toolbox

The reason for different results with sim and parsim might be the inter-dependency of variables in the model. Make sure there ar...

About parallel computing toolbox

The reason for different results with sim and parsim might be the inter-dependency of variables in the model. Make sure there ar...

environ 5 ans il y a | 0

Réponse apportée

Why is variance high for high K value in this KNN code?

In KNN-classification, variance need not be decreasing as the K value increases. Usually it is ‘U’- shape and we find out the op...

Why is variance high for high K value in this KNN code?

In KNN-classification, variance need not be decreasing as the K value increases. Usually it is ‘U’- shape and we find out the op...

environ 5 ans il y a | 0

Réponse apportée

Custom Object using plot toolbar

The PLOTS gallery shows the built-in plots that are suitable for the selected variables from the workspace. But a class object e...

Custom Object using plot toolbar

The PLOTS gallery shows the built-in plots that are suitable for the selected variables from the workspace. But a class object e...

environ 5 ans il y a | 0

Réponse apportée

ROS Toolbox / Code Generation / MW_BASERATE_PERIOD

From your question, I understand that there are two sections to be answered 1. MW_BASERATE_PERIOD set to 0.2: It is...

ROS Toolbox / Code Generation / MW_BASERATE_PERIOD

From your question, I understand that there are two sections to be answered 1. MW_BASERATE_PERIOD set to 0.2: It is...

environ 5 ans il y a | 0

Réponse apportée

what to use for capital pi when using coordinated from an image

Prod function reflects the functionality of capital Pi. You can refer the following link https://www.mathworks.com/help/matlab...

what to use for capital pi when using coordinated from an image

Prod function reflects the functionality of capital Pi. You can refer the following link https://www.mathworks.com/help/matlab...

environ 5 ans il y a | 0

Réponse apportée

PID Tuning in Simulink

There are multiple ways to tune the PID controller. I would suggest the following method Open the PID Controller dialog box of...

PID Tuning in Simulink

There are multiple ways to tune the PID controller. I would suggest the following method Open the PID Controller dialog box of...

environ 5 ans il y a | 0

Réponse apportée

How to convert raw FLIR thermal images(.jpg) into .txt files?

Assuming that you need the meta data of the file into the text format. You can do the following k = imfinfo('flir.jpg'); ...

How to convert raw FLIR thermal images(.jpg) into .txt files?

Assuming that you need the meta data of the file into the text format. You can do the following k = imfinfo('flir.jpg'); ...

environ 5 ans il y a | 0

Réponse apportée

How can I count the number of circles with particular radius and center which overlap, without a loop? (I need to speed it up)

From your question, you need an alternative which works as for loop and more optimized. The concept of vectorization works w...

How can I count the number of circles with particular radius and center which overlap, without a loop? (I need to speed it up)

From your question, you need an alternative which works as for loop and more optimized. The concept of vectorization works w...

environ 5 ans il y a | 0

Réponse apportée

legend not showing proper titles for the legend just stuck on one

Hey Christopher, From your question, I understand that the legend is not reciprocating appropriate markers. Since you are t...

legend not showing proper titles for the legend just stuck on one

Hey Christopher, From your question, I understand that the legend is not reciprocating appropriate markers. Since you are t...

environ 5 ans il y a | 0

A résolu

Reverse Run-Length Encoder

Given a "counting sequence" vector x, construct the original sequence y. A counting sequence is formed by "counting" the entrie...

plus de 5 ans il y a

A résolu

Which values occur exactly three times?

Return a list of all values (sorted smallest to largest) that appear exactly three times in the input vector x. So if x = [1 2...

plus de 5 ans il y a

A résolu

Return a list sorted by number of occurrences

Given a vector x, return a vector y of the unique values in x sorted by the number of occurrences in x. Ties are resolved by a ...

plus de 5 ans il y a

A résolu

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

plus de 5 ans il y a

A résolu

Balanced number

Given a positive integer find whether it is a balanced number. For a balanced number the sum of first half of digits is equal to...

plus de 5 ans il y a

A résolu

Binary numbers

Given a positive, scalar integer n, create a (2^n)-by-n double-precision matrix containing the binary numbers from 0 through 2^n...

plus de 5 ans il y a

A résolu

Nearest Numbers

Given a row vector of numbers, find the indices of the two nearest numbers. Examples: [index1 index2] = nearestNumbers([2 5 3...

plus de 5 ans il y a

A résolu

Counting Money

Add the numbers given in the cell array of strings. The strings represent amounts of money using this notation: $99,999.99. E...

plus de 5 ans il y a

A résolu

Pangrams!

A pangram, or holoalphabetic sentence, is a sentence using every letter of the alphabet at least once. Example: Input s ...

plus de 5 ans il y a

A résolu

Counting in Finnish

Sort a vector of single digit whole numbers alphabetically by their name, in Finnish. See the Wikipedia page for <http://en.wik...

plus de 5 ans il y a

A résolu

Elapsed Time

Given two date strings d1 and d2 of the form yyyy/mm/dd HH:MM:SS (assume hours HH is in 24 hour mode), determine how much time, ...

plus de 5 ans il y a

A résolu

Alphabetize by last name

Given a list of names in a cell array, sort the list by the last name. So if list = {'Barney Google','Snuffy Smith','Dagwood ...

plus de 5 ans il y a

A résolu

Interpolator

You have a two vectors, a and b. They are monotonic and the same length. Given a value, va, where va is between a(1) and a(end...

plus de 5 ans il y a

A résolu

Indexed Probability Table

This question was inspired by a Stack Overflow question forwarded to me by Matt Simoneau. Given a vector x, make an indexed pro...

plus de 5 ans il y a

A résolu

Maximum running product for a string of numbers

Given a string s representing a list of numbers, find the five consecutive numbers that multiply to form the largest number. Spe...

plus de 5 ans il y a

A résolu

Make a Palindrome Number

Some numbers like 323 are palindromes. Other numbers like 124 are not. But look what happens when we add that number to a revers...

plus de 5 ans il y a

A résolu

Which doors are open?

There are n doors in an alley. Initially they are all shut. You have been tasked to go down the alley n times, and open/shut the...

plus de 5 ans il y a

A résolu

Remove any row in which a NaN appears

Given the matrix A, return B in which all the rows that have one or more <http://www.mathworks.com/help/techdoc/ref/nan.html NaN...

plus de 5 ans il y a

A résolu

Test for balanced parentheses

Given the input inStr, give the boolean output out indicating whether all the parentheses are balanced. Examples: * If ...

plus de 5 ans il y a

A résolu

Making change

Given an amount of currency, return a vector of this form: [100 50 20 10 5 2 1 0.5 0.25 0.1 0.05 0.01] Example: Input a = ...

plus de 5 ans il y a

A résolu

The Goldbach Conjecture

The <http://en.wikipedia.org/wiki/Goldbach's_conjecture Goldbach conjecture> asserts that every even integer greater than 2 can ...

plus de 5 ans il y a