River Rock - MATLAB Central
photo

River Rock


Attivo dal 2012

Followers: 0   Following: 0

I don't want my name to be associated with Mathworks in any possible way.

Statistica

All
MATLAB AnswersCodyZoom OutFrom 08/12 to 03/25Use left and right arrows to move selectionFrom 08/12Use left and right arrows to move left selectionTo 03/25Use left and right arrows to move right selectionUse TAB to select grip buttons or left and right arrows to change selection100%

RANK
13.003
of 297.457

REPUTAZIONE
3

CONTRIBUTI
11 Domande
7 Risposte

ACCETTAZIONE DELLE RISPOSTE
54.55%

VOTI RICEVUTI
3

  • Thankful Level 3
  • Solver

Visualizza badge

Feeds

Visto da

Domanda


save gui handles between uiwait/uiresume calls
Hi, I'd like to implement the following behaviour in my gui app: - start iterating through a for loop and compute an array ...

quasi 10 anni fa | 1 risposta | 1

1

risposta

Risolto


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

circa 10 anni fa

Domanda


large differences between continuous and discrete tf
Hello, While working on an assignment, I noticed some differences between continuous and discrete tf and I cannot figure out ...

oltre 10 anni fa | 0 risposte | 0

0

risposte

Domanda


Code completion for toolbox functions
Hi I installed the Symbolic Math Toolbox over an existing Matlab 2012a installation and I noticed there is no auto-completion...

oltre 10 anni fa | 0 risposte | 0

0

risposte

Risposto
Reading a 5.0 mat file in c++
The example found in /extern/examples/eng_mat/matdgns.c also generate errors, as I fail to link the static library Using ...

oltre 11 anni fa | 0

Domanda


Reading a 5.0 mat file in c++
Hi :) How would you recommend me to read the contents of a 5.0 mat-file in c++? I've found a mat.h file in matlabroot/exte...

oltre 11 anni fa | 1 risposta | 0

1

risposta

Risposto
Modal realization in Matlab
bump?

circa 12 anni fa | 0

Domanda


Modal realization in Matlab
Hi Given the following transfer matrix : T = From input 1 to output: s - 1 ------------- s^2 + 3 s + ...

circa 12 anni fa | 1 risposta | 0

1

risposta

Domanda


Find a PID Controller
Hi I want to find a PID Controller for the following process: Hp(s) = 1 / (s^2 + 1) or Hp = tf (1, [1 0 1] ); Pe...

circa 12 anni fa | 2 risposte | 0

2

risposte

Risposto
Represent Simulink Integrator block as Matlab Function
My main goal is to implement the differential equations of a physical system using a single Matlab Function. As the sums and gai...

oltre 12 anni fa | 0

Risposto
Represent Simulink Integrator block as Matlab Function
Can anybody suggest a better way of implementing the numerical integration ? The code has to be written inside the Matlab Functi...

oltre 12 anni fa | 0

Domanda


Represent Simulink Integrator block as Matlab Function
Hi. I need to implement the following behavior : <<http://i.imgur.com/a6SsM.png>> The Integrator and my_Integrator bloc...

oltre 12 anni fa | 5 risposte | 1

5

risposte

Risolto


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

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

oltre 12 anni fa

Risolto


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

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

oltre 12 anni fa

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

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

oltre 12 anni fa

Risolto


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

oltre 12 anni fa

Risposto
Simulink transfer function with sinusoidal parameters
Thanks for your great response I had to adapt the diagram for the denominator [1 K 0], as you use [1 K 1] in your example. ...

oltre 12 anni fa | 0

Domanda


Simulink transfer function with sinusoidal parameters
Hi I need to design a transfer function in the following form: 1 / (s^2 + K*s) where K is scalar and varies sinusoidal; the d...

oltre 12 anni fa | 2 risposte | 1

2

risposte

Risposto
Simulink transfer function with sinusoidal parameter
Your answer does solve the initial problem. Now how about modifying the parameters of the denominator?

oltre 12 anni fa | 0

Domanda


Simulink transfer function with sinusoidal parameter
Hi I need to design a transfer function in the following form: K/ (Ts + 1) where the numerator K is scalar and varies sinuso...

oltre 12 anni fa | 2 risposte | 0

2

risposte

Risolto


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

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

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

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

oltre 12 anni fa

Domanda


Simulink constant parameter read inside Matlab Function block
Hi. I defined some Simulink parameters to the Model Workspace of a Simulink model. When used in a Constant block, the code com...

oltre 12 anni fa | 2 risposte | 0

2

risposte

Risposto
Reading a wire value from Simulink into the Command Window or GUIDE
Thanks for your answer; I was able to get the data from the filter's output data=get_param('main/level/level_filter','Runtime...

oltre 12 anni fa | 0

Domanda


Reading a wire value from Simulink into the Command Window or GUIDE
I want to read the values that passes through a wire in my Simulink model. This value should be displayed in a text field on ...

oltre 12 anni fa | 2 risposte | 0

2

risposte
Go to top of page