photo

Shiva Arun Kumar

MathWorks

Last seen: quasi 4 anni fa Attivo dal 2012

Followers: 0   Following: 0

Messaggio

I am an xPC Target quality engineer and have been a MathWorker since 2007.

DISCLAIMER: Any advice or opinions posted here are my own, and in no way reflect that of MathWorks.

**IMPORTANT NOTE**: Please be considerate and avoid sending personal messages to contributors on this forum. All users participate voluntarily, and in their spare time. Formulate your problem well and post it as a question on the forum. Be patient and allow time for it to be answered. There are some great tips in these discussions:

http://www.mathworks.com/matlabcentral/answers/728-how-do-i-write-a-good-question-for-matlab-answers

http://www.mathworks.com/matlabcentral/answers/20313-how-to-get-answers-for-my-unanswered-questions
Professional Interests: Rapid Prototyping, HIL Testing, Embedded Systems, Signal and Image Processing

Statistica

All
MATLAB Answers

0 Domande
11 Risposte

Cody

0 Problemi
13 Soluzioni

ThingSpeak

2 Pubblico Canali

RANK
2.082
of 300.756

REPUTAZIONE
32

CONTRIBUTI
0 Domande
11 Risposte

ACCETTAZIONE DELLE RISPOSTE
0.00%

VOTI RICEVUTI
4

RANK
 of 21.077

REPUTAZIONE
N/A

VALUTAZIONE MEDIA
0.00

CONTRIBUTI
0 File

DOWNLOAD
0

ALL TIME DOWNLOAD
0

RANK
33.392
of 170.890

CONTRIBUTI
0 Problemi
13 Soluzioni

PUNTEGGIO
140

NUMERO DI BADGE
1

CONTRIBUTI
0 Post

CONTRIBUTI
2 Pubblico Canali

VALUTAZIONE MEDIA
60

CONTRIBUTI
0 Punti principali

NUMERO MEDIO DI LIKE

  • Knowledgeable Level 2
  • First Answer
  • Solver

Visualizza badge

Feeds

Visto da

Canale


JessTest
QEMT Symposium

oltre 8 anni fa

Canale


Shiva_First_Channel
Test Channel for Ankit's Intro

oltre 8 anni fa

Risposto
Problem with xPC target parameter
Hi, Only the count is zeroed out for 16 and 32 bit reads. For 8 bit reads, the first element is zeroed since the first 0 mar...

quasi 14 anni fa | 0

| accettato

Risposto
Two Step functions in Different Times , or reset a subsystem block
The step time parameter is with reference to the simulation time and not from the time the subsystem is enabled. For example ...

quasi 14 anni fa | 1

| accettato

Risposto
Generating a C code using xPC target for simulink model of serial communication.
Hi Rohan, There are drivers available to support serial communication from within the Target application. The following link ...

quasi 14 anni fa | 0

| accettato

Risposto
Try to get data saved from a file scope with Microsoft .Net Framework functions, but just recieve zeros
Hi Svenja, The commands to read the data from a file created using the File Scope ,from within MATLAB, are: file=xpctarg...

quasi 14 anni fa | 0

Risposto
Storing vectors of different length in one single vector
Consider using cell arrays: http://www.mathworks.com/help/techdoc/matlab_prog/br04bw6-98.html

quasi 14 anni fa | 0

Risolto


Weighted average
Given two lists of numbers, determine the weighted average. Example [1 2 3] and [10 15 20] should result in 33.333...

quasi 14 anni fa

Risolto


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

quasi 14 anni fa

Risolto


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

quasi 14 anni fa

Risolto


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

quasi 14 anni fa

Risolto


Triangle Numbers
Triangle numbers are the sums of successive integers. So 6 is a triangle number because 6 = 1 + 2 + 3 which can be displa...

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

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

quasi 14 anni fa

Risolto


Add two numbers
Given a and b, return the sum a+b in c.

quasi 14 anni fa

Risolto


Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

quasi 14 anni fa

Risolto


Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

quasi 14 anni fa

Risposto
Removing grey pixels from an image
Why would this not work? bw=im2bw(I,0) Where I is the image that was read in.

quasi 14 anni fa | 0

Risposto
Try to access time-stamped Data from an HostScope with Microsoft .Net Framework functions using VB
Hi Svenja, You can get the Time Data using the DataTimeObject of the xPCHostScope class. For example (C# code): xPCHost...

quasi 14 anni fa | 0

| accettato

Risolto


Column Removal
Remove the nth column from input matrix A and return the resulting matrix in output B. So if A = [1 2 3; 4 5 6]; and ...

quasi 14 anni fa

Risolto


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

quasi 14 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 14 anni fa

Risposto
If condition for each matrix elements
There may be many ways to do this but does this solution work for you? p=zeros(size(c)); p(intersect(find(c>.2)',find(c<...

quasi 14 anni fa | 1

| accettato

Risposto
xpc target does not work with multiple NICs
Hi Mirko, http://www.mathworks.com/help/toolbox/xpc/gs/f1-4598.html As of R2010a: If the target computer has multiple...

quasi 14 anni fa | 1

Risposto
xPC, getsignalid returns 0, NOT empty
Hi Kosuke, 0 is a valid signal ID and you are correct, [] is returned when the signal name is incorrect. For example, whe...

quasi 14 anni fa | 0

| accettato

Risposto
Outport used in Real-Time Multicore Systems
Hi Jan, As you have mentioned in your post the following options do not work for a model that configured for concurrent execu...

quasi 14 anni fa | 1