photo

Jon


University of Maryland

Active since 2011

Followers: 0   Following: 0

Message

Statistics

All
MATLAB Answers

4 Questions
5 Answers

Cody

0 Problems
6 Solutions

RANK
8.589
of 300.321

REPUTATION
5

CONTRIBUTIONS
4 Questions
5 Answers

ANSWER ACCEPTANCE
75.0%

VOTES RECEIVED
1

RANK
 of 20.913

REPUTATION
N/A

AVERAGE RATING
0.00

CONTRIBUTIONS
0 Files

DOWNLOADS
0

ALL TIME DOWNLOADS
0

RANK
50.486
of 168.093

CONTRIBUTIONS
0 Problems
6 Solutions

SCORE
70

NUMBER OF BADGES
1

CONTRIBUTIONS
0 Posts

CONTRIBUTIONS
0 Public Channels

AVERAGE RATING

CONTRIBUTIONS
0 Highlights

AVERAGE NO. OF LIKES

  • Thankful Level 1
  • Knowledgeable Level 1
  • First Answer
  • Solver

View badges

Feeds

View by

Solved


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

meer dan 13 jaar ago

Solved


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

meer dan 13 jaar ago

Solved


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

meer dan 13 jaar ago

Solved


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

meer dan 13 jaar ago

Solved


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

meer dan 13 jaar ago

Solved


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

meer dan 13 jaar ago

Answered
Trouble with variable-input sizes in Embedded Matlab
I'm having the same issue. What causes it to infer that it is variable size? I can get it to pass the variable size variable b...

bijna 14 jaar ago | 0

Answered
Using Structures
Thanks Kaustubha, That is what I thought the answer was but I was hoping otherwise.

bijna 14 jaar ago | 0

| accepted

Answered
Port Size on a Bus Selector block
Thanks Kaustubha, I had the output over-defined. Removing the size and leaving the bus object assignment fixed the problem. ...

bijna 14 jaar ago | 0

| accepted

Question


MATLAB Function Interface Error
I have a MATLAB function block that has two inputs and one output. One input is a column vector with values for calculations an...

bijna 14 jaar ago | 2 answers | 0

2

answers

Question


Port Size on a Bus Selector block
I am using a Bus Selector Block to pick a particular signal object from a bus. I get the following error: Error in port wi...

bijna 14 jaar ago | 1 answer | 0

1

answer

Answered
Sudden error occurs on executing Matlab program
Make sure the folder they are in is in the MATLAB search path. File > Set Path ...

bijna 14 jaar ago | 0

| accepted

Answered
add a function to a model
Have you tried using a 'MATLAB Function' block? Under 'User-Defined Functions'. <http://www.mathworks.com/help/toolbox/simul...

bijna 14 jaar ago | 0

Question


Character Variables in Simulink
I think this should be easy, but it isn't for some reason. What am I missing? I want to pass a character variable from one b...

bijna 14 jaar ago | 2 answers | 1

2

answers

Question


Using Structures
I'm new to Simulink and I'm hoping there is an easy answer I am just missing it. I've been looking on forums and everywhere I c...

bijna 14 jaar ago | 1 answer | 0

1

answer