Community Profile

photo

Sunu


General Motors

Aktiv seit 2011

Followers: 0   Following: 0

Kontakt

Statistiken

All
  • Thankful Level 3
  • Quiz Master
  • Speed Demon
  • Creator
  • Solver

Abzeichen anzeigen

Feeds

Anzeigen nach

Frage


How to change color of a block in simulink when you perform copy
I'm trying to create a way to automatically change block colors when you do a copy in the model. I know how to change the color...

etwa 9 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 10 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How to use regexp to split the filepath
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

fast 11 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


S Function Error while generationg mex file
I have a header file with a prototype of a function( myfunc)and a function ponter to it. The c code generated with call through ...

fast 11 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


Running PostLoadFcn of a Model
I have a m file added to the PostLoadFcn of the model. The m file is trying to load a .mat file in the working directory and I g...

etwa 11 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


Load the fields of a structure
I have a structure A.params.data ans = r: [1x1 Simulink.Parameter] s: [1x1 Simulink.Parameter] I want to l...

etwa 11 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


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

mehr als 11 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Passing Parameters to perl from Matlab
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...

mehr als 11 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


writing to excel from matlab
I want to write large amount of data to existing excel file. Using xlswrite is taking some time( few minutes). Can I do it faste...

mehr als 11 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


Copy Parameters from Stateflow
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...

mehr als 11 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Adding New Menu in SImulink
Is it possible to add new menu (like File, Edit) in Simulink

mehr als 11 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


How to add right click options in Simulink
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...

mehr als 11 Jahre vor | 1 Antwort | 0

1

Antwort

Gelöst


Too mean-spirited
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...

fast 12 Jahre vor

Gelöst


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

fast 12 Jahre vor

Gelöst


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

fast 12 Jahre vor

Gelöst


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

fast 12 Jahre vor

Gelöst


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

etwa 12 Jahre vor

Gelöst


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

etwa 12 Jahre vor

Gelöst


Create times-tables
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...

etwa 12 Jahre vor

Gelöst


Sort a list of complex numbers based on far they are from the origin.
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...

etwa 12 Jahre vor

Gelöst


Return the 3n+1 sequence for n
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...

etwa 12 Jahre vor

Gelöst


Back and Forth Rows
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...

etwa 12 Jahre vor

Gelöst


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

etwa 12 Jahre vor

Gelöst


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

etwa 12 Jahre vor

Gelöst


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

etwa 12 Jahre vor

Gelöst


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

etwa 12 Jahre vor

Gelöst


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

etwa 12 Jahre vor

Gelöst


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

etwa 12 Jahre vor

Gelöst


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

etwa 12 Jahre vor

Gelöst


Make a checkerboard matrix
Given an integer n, make an n-by-n matrix made up of alternating ones and zeros as shown below. The a(1,1) should be 1. Example...

etwa 12 Jahre vor

Mehr laden