Community Profile

photo

Cam Jones

MathWorks

Last seen: plus de 2 ans il y a Actif depuis 2017

Graduate of Worcester Polytechnic Institute in Computer Science.

Interested in Machine Learning, AI, and Finance.

Statistiques

All
  • First Review
  • Solver
  • First Answer

Afficher les badges

Content Feed

Afficher par

A répondu
Help needed in frintf statement with if condition I have attached my code below
It looks like you have not closed out the quotes in your character arrays. Specifically looking at fprintf(t,'%s\r\n',['!BB0...

presque 5 ans il y a | 0

A résolu


Bullseye Matrix
Given n (always odd), return output a that has concentric rings of the numbers 1 through (n+1)/2 around the center point. Exampl...

presque 5 ans il y a

A résolu


ASCii Code
Using Matlab get the ASCii for '?'

presque 5 ans il y a

A résolu


Returning a "greater than" vector
Given a vector, v, return a new vector , vNew, containing only values > n. For example: v=[1 2 3 4 5 6] n=3 vNew =...

presque 5 ans il y a

A résolu


Maximum value in a matrix
Find the maximum value in the given matrix. For example, if A = [1 2 3; 4 7 8; 0 9 1]; then the answer is 9.

presque 5 ans il y a

A résolu


Area of a circle
Find the value for area of the circle if diameter is given

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

presque 5 ans il y a

A résolu


Pangrams!
A pangram, or holoalphabetic sentence, is a sentence using every letter of the alphabet at least once. Example: Input s ...

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

presque 5 ans il y a

A résolu


Is the input divisible by 3?
Return true if the input is divisible by 3 and false if not.

presque 5 ans il y a

A résolu


Multiply a column by a row
* Given a column vector C and and a row vector R. * Output a matrix M. * Every column of M equals to C multiplied by correspon...

presque 5 ans il y a

A résolu


Colon operator of two vectors
You are given two vectors of equal length: VecStart, VecEnd Each vector contain a set of integers, where VecEnd(j)>=VecStar...

presque 5 ans il y a

A résolu


Number of toolboxes?
Return a number equal to the number of toolboxes available to the Cody solvers.

presque 5 ans il y a

A résolu


Make a 1 hot vector
Make a vector of length _N_ that consists of all zeros except at index _k_, where it has the value 1. Example: Input ...

presque 5 ans il y a

A résolu


Count ones
Write a program to count number of ones (1s) in an integer variable input. For example: Input x=2200112231 output y=3 I...

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

presque 5 ans il y a

A résolu


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

presque 5 ans il y a

A répondu
reading a csv file with headers and splitting that matrix into 2 matrices
In order to import the data, I recommend using the "readtable" function which will import the data as a MATLAB table. data...

plus de 6 ans il y a | 2

A répondu
Visualize a Dendrogram as text
There is no direct function to convert a dendrogram to a text format such as above. However, using the underlying data, you c...

plus de 6 ans il y a | 0