photo

George

MathWorks

Last seen: plus de 3 ans il y a Actif depuis 2014

Followers: 0   Following: 0

Message

I've worked at MathWorks since 2013. Using MATLAB isn't part of my job, but I enjoy learning about it.

Statistiques

All
MATLAB Answers

1 Question
56 Réponses

File Exchange

1 Fichier

Cody

0 Problèmes
123 Solutions

RANG
663
of 300 352

RÉPUTATION
118

CONTRIBUTIONS
1 Question
56 Réponses

ACCEPTATION DE VOS RÉPONSES
100.0%

VOTES REÇUS
22

RANG
15 578 of 20 928

RÉPUTATION
10

CLASSEMENT MOYEN
0.00

CONTRIBUTIONS
1 Fichier

TÉLÉCHARGEMENTS
2

ALL TIME TÉLÉCHARGEMENTS
80

RANG
2 671
of 168 212

CONTRIBUTIONS
0 Problèmes
123 Solutions

SCORE
1 217

NOMBRE DE BADGES
4

CONTRIBUTIONS
0 Publications

CONTRIBUTIONS
0 Public Chaîne

CLASSEMENT MOYEN

CONTRIBUTIONS
0 Point fort

NOMBRE MOYEN DE LIKES

  • Scavenger Finisher
  • Knowledgeable Level 3
  • 3 Month Streak
  • Introduction to MATLAB Master
  • Commenter
  • First Review
  • First Submission
  • GitHub Submissions Level 1
  • Revival Level 1
  • Knowledgeable Level 2
  • First Answer
  • Promoter

Afficher les badges

Feeds

Afficher par

A soumis


dotenv-for-MATLAB
Load environment variables from a .env file.

environ 2 ans il y a | 2 téléchargements |

0.0 / 5
Thumbnail

A résolu


Magic is simple (for beginners)
Determine for a magic square of order n, the magic sum m. For example m=15 for a magic square of order 3.

plus de 4 ans il y a

A résolu


Make a random, non-repeating vector.
This is a basic MATLAB operation. It is for instructional purposes. --- If you want to get a random permutation of integer...

plus de 4 ans il y a

A résolu


Generate a vector like 1,2,2,3,3,3,4,4,4,4
Generate a vector like 1,2,2,3,3,3,4,4,4,4 So if n = 3, then return [1 2 2 3 3 3] And if n = 5, then return [1 2 2...

plus de 4 ans il y a

A résolu


Number of 1s in a binary string
Find the number of 1s in the given binary string. Example. If the input string is '1100101', the output is 4. If the input stri...

plus de 4 ans il y a

A résolu


Getting the indices from a vector
This is a basic MATLAB operation. It is for instructional purposes. --- You may already know how to <http://www.mathworks....

plus de 4 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.

plus de 4 ans il y a

A résolu


Return area of square
Side of square=input=a Area=output=b

plus de 4 ans il y a

A résolu


Return unique values without sorting
If the input vector A is [42 1 1], the output value B must be the unique values [42 1] The *values of B are in the s...

presque 9 ans il y a

A résolu


Generate N equally spaced intervals between -L and L
Given N and L, return a list of numbers (in ascending order) that divides the interval [-L L] into N equal-length segments. F...

presque 9 ans il y a

A résolu


Set the array elements whose value is 13 to 0
Input A either an array or a vector (which can be empty) Output B will be the same size as A . All elements of A equal to 13...

presque 9 ans il y a

Réponse apportée
How can I create a cell array by combining arrays?
What are you having trouble with? The code you posted works. >> cellArray={['X','Y','Z'],[1 2 3],[4 5 6],[7 8 9]} c...

presque 9 ans il y a | 1

Réponse apportée
Using save with -v7.3 takes a long time and the mat file size is enormous
I've run into this before too. From the <https://www.mathworks.com/help/matlab/import_export/mat-file-versions.html matfile> pag...

presque 9 ans il y a | 1

| A accepté

Réponse apportée
How do I get Matlab to recognise a text file as numerical values when importing it ?
Check out the <https://www.mathworks.com/help/matlab/ref/textscan.html#inputarg_formatSpec |formatSpec|> portion of the textscan...

presque 9 ans il y a | 0

Réponse apportée
how to get the specific member data from a struct array?
From the doc on <https://www.mathworks.com/help/matlab/ref/struct.html |struct|> "When you access a field of a nonscalar stru...

presque 9 ans il y a | 0

| A accepté

Réponse apportée
predict data for input
Have you tried <https://www.mathworks.com/help/stats/compactclassificationdiscriminant.predict.html |predict()|>? results =...

presque 9 ans il y a | 0

Réponse apportée
I'm trying to create a loop in which i can extract 4 columns and multiple rows from 18 difference txt files and save the extracted data in one file. Is this possible? This is my code from one file
Untested, but this should basically work. Get an array of filenames with <https://www.mathworks.com/help/matlab/ref/ls.html?s_ti...

environ 9 ans il y a | 0

Réponse apportée
How can I make a random array with values of either -1 or 1?
You can use rand % pseudo code x = rand(50,1); pos = x >= .5; neg = x < .5; x(pos) = 1; x(neg) = -1; ...

environ 9 ans il y a | 0

Réponse apportée
I'm doing iteration of credit card. In it, there are looping of month ,balance, and pay every month . How to plot graph with these three variable as the value changes everytime looping happen . Thanks
Don't try and plot it everytime it changes. Store the elements in vectors and plot those at the end.

environ 9 ans il y a | 0

A résolu


Elapsed Time
Given two date strings d1 and d2 of the form yyyy/mm/dd HH:MM:SS (assume hours HH is in 24 hour mode), determine how much time, ...

environ 9 ans il y a

A résolu


Binary numbers
Given a positive, scalar integer n, create a (2^n)-by-n double-precision matrix containing the binary numbers from 0 through 2^n...

environ 9 ans il y a

Réponse apportée
How to remove corrupted data lines from text file
Add a NameValue pair of <https://www.mathworks.com/help/matlab/ref/textscan.html#namevaluepairs CommentStyle>. e.g., C = t...

environ 9 ans il y a | 0

A résolu


Counting Money
Add the numbers given in the cell array of strings. The strings represent amounts of money using this notation: $99,999.99. E...

environ 9 ans il y a

A résolu


Sums with Excluded Digits
Add all the integers from 1 to n in which the digit m does not appear. m will always be a single digit integer from 0 to 9. no...

environ 9 ans il y a

A résolu


Multielement indexing of a row array
The row array birthRateChina stores the China birth rate (per 1000 people) for years 2000 to 2012. Write a statement that create...

environ 9 ans il y a

Réponse apportée
How to set names to column vectors?
If you want to associate a variable name with a piece of data I think your best bet is to use a <https://www.mathworks.com/help/...

environ 9 ans il y a | 1

| A accepté

A résolu


Replace NaNs with the number that appears to its left in the row.
Replace NaNs with the number that appears to its left in the row. If there are more than one consecutive NaNs, they should all ...

environ 9 ans il y a

Réponse apportée
How to speed up a for loop ?
Are you sure this is correct? angle=asin(A(:,3))/(sqrt(A(:,3).^2+A(:,2).^2+A(:,1).^2)); That's doing matrix division. In...

environ 9 ans il y a | 2

| A accepté

Réponse apportée
How to find which column consists character 'example' in cell c{1,2}(:,1)
strcmp(c{1,2}(:,1), 'example') will return a logical array. You may need to surround 'example' with |cellstr()|, I can't re...

environ 9 ans il y a | 0

Charger plus