photo

Rollin Baker

MathWorks

Actif depuis 2017

Followers: 0   Following: 0

Message

I'm an engineer at MathWorks with an education in computer science and hardware design.

Statistiques

All
  • Solver
  • Knowledgeable Level 2
  • First Answer

Afficher les badges

Feeds

Afficher par

A résolu


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

plus de 6 ans il y a

A résolu


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

plus de 6 ans il y a

A résolu


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

plus de 6 ans il y a

A résolu


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

plus de 6 ans il y a

A résolu


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

plus de 6 ans il y a

A résolu


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

plus de 6 ans il y a

A résolu


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

plus de 6 ans il y a

A résolu


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

plus de 6 ans il y a

A résolu


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

plus de 6 ans il y a

Réponse apportée
Can't install any toolboxes because can't write to /usr/local/MATLAB/R2017
Hi Paul, For any installation issues, you will want to contact MathWorks Technical Support. They will likely be able to help ...

plus de 7 ans il y a | 1

Réponse apportée
Why is there an error when I call my function?
You are seeing this error because you are trying to access 'z(2)', but 'z' only contains one element. It seems that you are expe...

plus de 7 ans il y a | 0

Réponse apportée
after scatter3(), how to draw a contour line in the same figure?
Hi Hong, As KSSV said, you just need to call 'hold on;' to plot both graphs on the same figure. I don't know exactly what you...

plus de 7 ans il y a | 0

| A accepté

Réponse apportée
Changing solution when using sparsity pattern with ode15s
Hi Carsten, I'm not totally sure if I understand your workflow, but I found a documentation page that details how MATLAB solv...

plus de 7 ans il y a | 0

Réponse apportée
How to display different graphs depending on the position of the mouse pointer on an image?
Hi Guillaume, If your image is on a figure, then you could use the 'WindowButtonMotionFcn' callback to invoke a custom funct...

plus de 7 ans il y a | 0

| A accepté

Réponse apportée
Im having problems with the reconstruction through two-channel filter bank when I use my audio files.
Hi Christian, The reason you are seeing zeros for your final result is because you are overwriting all previous values for 'h...

plus de 7 ans il y a | 0

| A accepté

Réponse apportée
Extraction of a touchstone file from rlcg data for the multi-port file
Hi YoungGon, Have you looked at the 'rfwrite' function yet? It can handle multiple ports and seems like a good fit for what y...

plus de 7 ans il y a | 0

Réponse apportée
ROS Indigo Virtual Machine Download
Hi Anastasios, The link worked for me, and seems to work for other users, so the issue must be somehow specific to your envir...

plus de 7 ans il y a | 0

Réponse apportée
Here is my code so far, how would I code a checkWin function that will determine the winner of the tic tac toe game?
Hi Sterling, You didn't specify exactly how you were modeling your tic-tac-toe board, but I'm going to assume you are storing...

plus de 7 ans il y a | 1

Réponse apportée
setting parameters for 4 Blocks (wrong number of input arguments, should be odd?)
Hi Bünyamin, The reason you are seeing this error is because the 'set_param' function is only meant to be called on a single ...

plus de 7 ans il y a | 1

| A accepté

Réponse apportée
What is the difference in capability for DSP and Signal Analysis?
Hi Andrew, There are two toolboxes that jump out to me that seem like a good fit for your project. 1) <https://www.mathwo...

plus de 7 ans il y a | 0

Réponse apportée
i want a code for hsv space quantization in which hue(0,360) divided in 8 channel, and S [0,1]and v [0,1]divided in to 3 shares. and also if possible code for dominnant color descriptor.
Hi Harsh, Assuming you have the RGB values for the image you want to convert, you can simply use the rgb2hsv function. The do...

plus de 7 ans il y a | 0

Réponse apportée
How do I write individual 'labels' for each slice (e.g. ImageJ) of a multi-page TIF in Matlab?
Hi Dhrubajyoti, Looking through the MATLAB documentation, I was able to find a "PageName" tag for TIFF objects. You can use t...

plus de 7 ans il y a | 0

Réponse apportée
If i have 10 random (x,y) coordinates in form of Z given below gives the location of nodes.How to give number labelling to these coordinates?And how to construct a (node and link i.e G(v,e) )graph with weights equal to the distance between the nodes?
Hi Sneha, You can create your graph using the "digraph" function, and determine the weights using the "pdist" function. This ...

plus de 7 ans il y a | 0

| A accepté

Réponse apportée
Any MATLAB functions for prediction index and Brier score
Hi Eric, MATLAB has quite a few options for your use case, particularly within the Statistics and Machine Learning Toolbox....

plus de 7 ans il y a | 0

Réponse apportée
Unable to connect arduino to MATLAB R2016b through the MATLAB Support Package for Arduino Hardware
Hi Giulia, Some users have reported that connecting to an Arduino can be very slow if your computer's Bluetooth is turned on....

plus de 7 ans il y a | 0

Réponse apportée
Can I implement a spatial derivative in a simscape custom component?
The beginning of your question is a bit unclear. You mention you want to take the derivative of H with respect to M, but you the...

plus de 7 ans il y a | 0