Community Profile

Contact

Top 1% contributor

If I have a path like HYB/Controls/subsystem.... how do I go that subsystem directly rather than parsing through the entire mode...

2 Answers

0

Asked 3 years ago

If x = [1 2 4; 3 4 5; 5 6 7] then y should be the sum of the diagonals of the matrix y = 1 + 4 + 7 = 12

Solve this!

3 years ago

I did fix the issue, wrote an algorithm for the filter and compiled using mex function. Thanks Kaustubha for the help

Answered 3 years ago

Is there a command in matlab to find Subsystems that have trigger port. I want to replace a different timing raster for all the ...

1 Answers

Asked 1 year ago

file path= C:\Data\Project\PCOD\PCOD_Model.mdl I want the model path only like C:\Data\Project\PCOD\.... how can I do it

Asked 2 years ago

I have a subsystem and I want to add specific function( like copy the subsystem to a new model) at the right click. Is there way...

I was trying to run a perl script which parses an XML file using XMLin and print the result, but perl('print.pl') gives this err...

I am trying to get the datatype of enumerated signal from the model programmatically, so that I can set its default value to one...

hey I need to pass the name of the config fie with a list of output signals from the model to a perl script. when I do perl('e...

I want to copy parameters in a stateflow to outside of the chart. This is beacuse I need to access these parameters, so that I c...

Is it possible to add new menu (like File, Edit) in Simulink

I am trying to build a model with s-function and I only have mexw32 file of that function available. I am using easy hooks(ehook...

The model I am trying to build has a S-function and I have access to the <s-function>.c file. The source file has a function cal...

Find the mean of each consecutive pair of numbers in the input row vector. For example, x=[1 2 3] ----> y = [1.5 2.5] x=[1...

You are given a cell array of strings and a string delimiter. You need to produce one string which is composed of each string fr...

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

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

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

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

At one time or another, we all had to memorize boring times tables. 5 times 5 is 25. 5 times 6 is 30. 12 times 12 is way more th...

Given a list of complex numbers z, return a list zSorted such that the numbers that are farthest from the origin (0+0i) appear f...

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

Given a number n, create an n-by-n matrix in which the integers from 1 to n^2 wind back and forth along the rows as shown in the...

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

There will always be at least one prime in the matrix. Example: Input in = [ 8 3 5 9 ] Output out is 4...

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

Check if sorted. Example: Input x = [1 2 0] Output y is 0

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

Calculate the nth Fibonacci number. Given n, return f where f = fib(n) and f(1) = 1, f(2) = 1, f(3) = 2, ... Examples: Inpu...

Return true if the elements of the input vector increase monotonically (i.e. each element is larger than the previous). Return f...

Load more