photo

Nathan Crosty

MathWorks

Aktiv seit 2013

Followers: 0   Following: 0

Nachricht

Statistik

All
MATLAB Answers

6 Fragen
9 Antworten

Cody

0 Probleme
20 Lösungen

RANG
3.602
of 300.379

REPUTATION
16

BEITRÄGE
6 Fragen
9 Antworten

ANTWORTZUSTIMMUNG
16.67%

ERHALTENE STIMMEN
8

RANG
 of 20.931

REPUTATION
N/A

DURCHSCHNITTLICHE BEWERTUNG
0.00

BEITRÄGE
0 Dateien

DOWNLOADS
0

ALL TIME DOWNLOADS
0

RANG
24.854
of 168.299

BEITRÄGE
0 Probleme
20 Lösungen

PUNKTESTAND
210

ANZAHL DER ABZEICHEN
2

BEITRÄGE
0 Beiträge

BEITRÄGE
0 Öffentlich Kanäle

DURCHSCHNITTLICHE BEWERTUNG

BEITRÄGE
0 Highlights

DURCHSCHNITTLICHE ANZAHL DER LIKES

  • First Review
  • First Answer
  • Promoter
  • Solver

Abzeichen anzeigen

Feeds

Anzeigen nach

Frage


How do I disable simulink embedded matlab function editor auto correct?
I am working on a Matlab function block in a Simulink model, and the auto-correct is re-naming some variables every time I go to...

fast 11 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


How do I propogate a signal name from a Model Reference in 2011b?
I found some documentation that pertains to newer versions (2014a) for propagating signal names from inside of the model referen...

mehr als 11 Jahre vor | 0 Antworten | 0

0

Antworten

Beantwortet
Real time plot from streaming data
Try this code snippet I have in my inventory as an example. t = 0 ; x = 0 ; startSpot = 0; interv = 1000 ; % con...

etwa 12 Jahre vor | 6

Frage


How do I create stub functions in simulink for legacy code?
I would like to use sfunctions to create function calls to a external c functions. I don't want to build the actual legacy code...

etwa 12 Jahre vor | 1 Antwort | 0

1

Antwort

Beantwortet
how to plot the data in a cell array
It sounds like you are looking for the cell2mat function. This will convert a cell array to numeric array which you can use to ...

mehr als 12 Jahre vor | 0

Beantwortet
Variant control for variant subsystems with mask parameters?
In the Variant Subsystem > Subsystem Parameters, there is a check box for "Override variant conditions and use the following var...

mehr als 12 Jahre vor | 1

Beantwortet
What can affect the performance of Matlab Compiler?
One option is to turn off compiler optimizations in Code Generation>Build Process>>Compiler optimization level This will ...

mehr als 12 Jahre vor | 0

Gelöst


Swap the first and last columns
Flip the outermost columns of matrix A, so that the first column becomes the last and the last column becomes the first. All oth...

mehr als 12 Jahre vor

Beantwortet
nested if else statements
this = 222; that = 111; if this == 333 disp('this') elseif that == 444 disp('that') else this ...

mehr als 12 Jahre vor | 0

Gelöst


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

mehr als 12 Jahre vor

Gelöst


Make one big string out of two smaller strings
If you have two small strings, like 'a' and 'b', return them put together like 'ab'. 'a' and 'b' => 'ab' For extra ...

mehr als 12 Jahre vor

Beantwortet
Receiving UDP data from Arduino
One thing I can tell you is that your endianness will be opposite between the Arduino and Matlab. Other than that, your paremet...

mehr als 12 Jahre vor | 0

Gelöst


Distance walked 1D
Suppose you go from position 7 to 10 to 6 to 4. Then you have walked 9 units of distance, since 7 to 10 is 3 units, 10 to 6 is 4...

mehr als 12 Jahre vor

Gelöst


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

mehr als 12 Jahre vor

Gelöst


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

mehr als 12 Jahre vor

Gelöst


Pizza!
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...

mehr als 12 Jahre vor

Gelöst


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

mehr als 12 Jahre vor

Gelöst


Increment a number, given its digits
Take as input an array of digits (e.g. x = [1 2 3]) and output an array of digits that is that number "incremented" properly, (i...

mehr als 12 Jahre vor

Gelöst


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

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

mehr als 12 Jahre vor

Gelöst


Sorted highest to lowest?
Return 1 if the input is sorted from highest to lowest, 0 if not. Example: 1:7 -> 0 [7 5 2] -> 1

mehr als 12 Jahre vor

Gelöst


Bottles of beer
Given an input number representing the number of bottles of beer on the wall, output how many are left if you take one down and ...

mehr als 12 Jahre vor

Gelöst


Return the first and last character of a string
Return the first and last character of a string, concatenated together. If there is only one character in the string, the functi...

mehr als 12 Jahre vor

Gelöst


Is my wife right? Now with even more wrong husband
Again, as in "Is my wife right?" ( <http://www.mathworks.com/matlabcentral/cody/problems/149-is-my-wife-right> ), answer 'yes' r...

mehr als 12 Jahre vor

Gelöst


Sum all integers from 1 to 2^n
Given the number x, y must be the summation of all integers from 1 to 2^x. For instance if x=2 then y must be 1+2+3+4=10.

mehr als 12 Jahre vor

Gelöst


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

mehr als 12 Jahre vor

Gelöst


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

mehr als 12 Jahre vor

Gelöst


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

mehr als 12 Jahre vor

Gelöst


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

mehr als 12 Jahre vor

Beantwortet
how do i get the timestep of odesolver
The ODE solvers actually return time... You don't need to do anything extra. [T,Y] = solver(odefun,tspan,y0) Where T is th...

mehr als 12 Jahre vor | 1

Mehr laden