回答済み

Is there a way to check some processing flags for complex algorithms with multiple calculations if overflow, underflow occurred in processing ?

Hi Firan, You could use "dbstop" function to pause execution at the line that meets a specified condition. The below line of co...

Is there a way to check some processing flags for complex algorithms with multiple calculations if overflow, underflow occurred in processing ?

Hi Firan, You could use "dbstop" function to pause execution at the line that meets a specified condition. The below line of co...

6ヶ月 前 | 1

| 採用済み

回答済み

How to calculate Signal to noise Ratio of a signal during simulation (in simulink and not with matlab function snr) while i dont have seperated noise from the signal?

Hi, Signal-to-noise Ratio(SNR) of a signal can be measured during simulation using MER Measurement block. Have a look at this d...

How to calculate Signal to noise Ratio of a signal during simulation (in simulink and not with matlab function snr) while i dont have seperated noise from the signal?

Hi, Signal-to-noise Ratio(SNR) of a signal can be measured during simulation using MER Measurement block. Have a look at this d...

6ヶ月 前 | 0

回答済み

Create a local constant variable that is randomly generated in Simscape Component Code?

Hi Isaac, You could initialise a local variable('var' in your case) as a Model Callback which is executed at specified action p...

Create a local constant variable that is randomly generated in Simscape Component Code?

Hi Isaac, You could initialise a local variable('var' in your case) as a Model Callback which is executed at specified action p...

6ヶ月 前 | 0

回答済み

Simscape Li-ion Battery

Hi, Have a look at a similar question : https://www.mathworks.com/matlabcentral/answers/446027-can-simscape-battery-model-i-e-t...

Simscape Li-ion Battery

Hi, Have a look at a similar question : https://www.mathworks.com/matlabcentral/answers/446027-can-simscape-battery-model-i-e-t...

6ヶ月 前 | 0

回答済み

How to store continuous serial data from COM port

Hi, In order to receive a continuous stream of data you can set the ‘IsContinuous’ property of the serial object (‘s’ in your c...

How to store continuous serial data from COM port

Hi, In order to receive a continuous stream of data you can set the ‘IsContinuous’ property of the serial object (‘s’ in your c...

6ヶ月 前 | 0

回答済み

Calculus and Plot of a simple polar stereographic projection

Hi, Have a look at this MATLAB function: https://www.mathworks.com/help/map/stereo.html?searchHighlight=stereo&s_tid=doc_srch...

Calculus and Plot of a simple polar stereographic projection

Hi, Have a look at this MATLAB function: https://www.mathworks.com/help/map/stereo.html?searchHighlight=stereo&s_tid=doc_srch...

6ヶ月 前 | 0

回答済み

Button press to continue iteration in appdesigner

Hi, I found an answer to a similar question. Have a look at this link https://www.mathworks.com/matlabcentral/answers/317916-ho...

Button press to continue iteration in appdesigner

Hi, I found an answer to a similar question. Have a look at this link https://www.mathworks.com/matlabcentral/answers/317916-ho...

6ヶ月 前 | 0

回答済み

Add Customized Elements in Component Library in Matlab App Designer

Hi, This can be done by creating a custom ActiveX control, or by downloading and using an existing one. You can insert an Activ...

Add Customized Elements in Component Library in Matlab App Designer

Hi, This can be done by creating a custom ActiveX control, or by downloading and using an existing one. You can insert an Activ...

6ヶ月 前 | 1

| 採用済み

回答済み

How to create GRU RNN in MATLAB

Hi, You could implement RNN with Gated Recurrent Unit (GRU) by using either LSTM or bi-LSTM layers. Also have a look at this li...

How to create GRU RNN in MATLAB

Hi, You could implement RNN with Gated Recurrent Unit (GRU) by using either LSTM or bi-LSTM layers. Also have a look at this li...

6ヶ月 前 | 0

回答済み

Dependence of resistance on slip in an asynchronous motor.

Hi, For asynchronous machines, at each steady-state operation, the rotor resistance depends on the slip, i.e., Rr'/s, where Rr'...

Dependence of resistance on slip in an asynchronous motor.

Hi, For asynchronous machines, at each steady-state operation, the rotor resistance depends on the slip, i.e., Rr'/s, where Rr'...

6ヶ月 前 | 1

回答済み

How do I limit the rotation of a revolute joint in Simscape Multibody? Setting the internal limits is not working

Hi, I found an answer to a similar question. Please refer this link : https://www.mathworks.com/matlabcentral/answers/93151-i...

How do I limit the rotation of a revolute joint in Simscape Multibody? Setting the internal limits is not working

Hi, I found an answer to a similar question. Please refer this link : https://www.mathworks.com/matlabcentral/answers/93151-i...

6ヶ月 前 | 0

回答済み

How do I keep sending a signal towards my object?

Hi, I understand that you want to select a PWM signal of a particular duty cycle and send the selected signal to the Arduino Bo...

How do I keep sending a signal towards my object?

Hi, I understand that you want to select a PWM signal of a particular duty cycle and send the selected signal to the Arduino Bo...

6ヶ月 前 | 0

回答済み

Combining batches graphs consecutively

Hi, It is possible to concatenate 4 batches data say Y1, Y2, Y3, Y4 into a single data set Y using the code: Y = [Y1 Y2 Y3 Y4]...

Combining batches graphs consecutively

Hi, It is possible to concatenate 4 batches data say Y1, Y2, Y3, Y4 into a single data set Y using the code: Y = [Y1 Y2 Y3 Y4]...

6ヶ月 前 | 0

回答済み

Rotate the phasor in Simulink

Hi, Try multiplying the phasor you want to rotate with a gain block of gain such that and . This shifts the input phasor at ...

Rotate the phasor in Simulink

Hi, Try multiplying the phasor you want to rotate with a gain block of gain such that and . This shifts the input phasor at ...

6ヶ月 前 | 0

| 採用済み

解決済み

Nearest Numbers

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

10ヶ月 前

解決済み

Test for balanced parentheses

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

10ヶ月 前

解決済み

Clean the List of Names

Given a list of names in a cell array, remove any duplications that result from different capitalizations of the same string. So...

10ヶ月 前

解決済み

Sums with Excluded Digits

Add all the integers from 1 to n in which the digit m does not appear. m will always be a single digit integer from 0 to 9. no...

10ヶ月 前

解決済み

Word Counting and Indexing

You are given a list of strings, each being a list of words divided by spaces. Break the strings into words, then return a maste...

10ヶ月 前

解決済み

Find common elements in matrix rows

Given a matrix, find all elements that exist in every row. For example, given A = 1 2 3 5 9 2 5 9 3 2 5 9 ...

10ヶ月 前

解決済み

Kaprekar Steps

6174 is the <http://en.wikipedia.org/wiki/6174_%28number%29 Kaprekar constant>. All natural numbers less than 10,000 (except som...

10ヶ月 前

解決済み

Read a column of numbers and interpolate missing data

Given an input cell array of strings s, pick out the second column and turn it into a row vector of data. Missing data will be i...

10ヶ月 前

解決済み

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

10ヶ月 前

解決済み

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

10ヶ月 前

解決済み

Return the largest number that is adjacent to a zero

This example comes from Steve Eddins' blog: <http://blogs.mathworks.com/steve/2009/05/27/learning-lessons-from-a-one-liner/ Lear...

11ヶ月 前

解決済み

Remove the polynomials that have positive real elements of their roots.

The characteristic equation for a dynamic system is a polynomial whose roots indicate its behavior. If any of the <http://www.ma...

11ヶ月 前

解決済み

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

11ヶ月 前

解決済み

Find the peak 3n+1 sequence value

A Collatz sequence is the sequence where, for a given number n, the next number in the sequence is either n/2 if the number is e...

11ヶ月 前

解決済み

Target sorting

Sort the given list of numbers |a| according to how far away each element is from the target value |t|. The result should return...

11ヶ月 前

解決済み

Remove the small words from a list of words.

Your job is to tidy up a list of words that appear in a string. The words are separated by one or more spaces. Remove all words ...

11ヶ月 前