Jonathan Chin
Followers: 0 Following: 0
Estadística
0 Preguntas
13 Respuestas
0 Problemas
17 Soluciones
CLASIFICACIÓN
2.116
of 295.467
REPUTACIÓN
30
CONTRIBUCIONES
0 Preguntas
13 Respuestas
ACEPTACIÓN DE RESPUESTAS
0.00%
VOTOS RECIBIDOS
3
CLASIFICACIÓN
of 20.234
REPUTACIÓN
N/A
EVALUACIÓN MEDIA
0.00
CONTRIBUCIONES
0 Archivos
DESCARGAS
0
ALL TIME DESCARGAS
0
CLASIFICACIÓN
25.340
of 153.912
CONTRIBUCIONES
0 Problemas
17 Soluciones
PUNTUACIÓN
180
NÚMERO DE INSIGNIAS
1
CONTRIBUCIONES
0 Publicaciones
CONTRIBUCIONES
0 Público Canales
EVALUACIÓN MEDIA
CONTRIBUCIONES
0 Temas destacados
MEDIA DE ME GUSTA
Feeds
Matrix dimensions must agree.
n.*t *n* and *t* don't match dimensions, when you do *.** you are trying to do an element wise multiplication, since they ...
casi 7 años hace | 0
How to put more than 200000 line segments on a plot?
Not sure what you mean by cannot handle more than 200000 line segments. I was able to plot them using matlab 2017b and matlab 2...
casi 7 años hace | 0
How to count the number of consecutive negative values in a vector?
This might work using cumsum to find all the negatives in a group and hist to count the consecutive negatives v1 = [1...
casi 7 años hace | 0
| aceptada
How to make this code more efficient?
acct1=Throw*bsxfun(@times,cos(CrankAngleRad)*ones(size(w)).',w.^2.'); acct2= Throw/ConrodLength*Throw*bsxfun(@times,cos(2...
alrededor de 7 años hace | 0
Resuelto
Return the largest number that is adjacent to a zero
This example comes from Steve Eddins' blog: <http://blogs.mathworks.com/steve/2009/05/27/learning-lessons-from-a-one-liner/ Lear...
alrededor de 7 años hace
Resuelto
Find the longest sequence of 1's in a binary sequence.
Given a string such as s = '011110010000000100010111' find the length of the longest string of consecutive 1's. In this examp...
alrededor de 7 años hace
Resuelto
Find the numeric mean of the prime numbers in a matrix.
There will always be at least one prime in the matrix. Example: Input in = [ 8 3 5 9 ] Output out is 4...
alrededor de 7 años hace
Resuelto
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 ...
alrededor de 7 años hace
Resuelto
Remove all the consonants
Remove all the consonants in the given phrase. Example: Input s1 = 'Jack and Jill went up the hill'; Output s2 is 'a ...
alrededor de 7 años hace
Resuelto
Back and Forth Rows
Given a number n, create an n-by-n matrix in which the integers from 1 to n^2 wind back and forth along the rows as shown in the...
alrededor de 7 años hace
Resuelto
Determine whether a vector is monotonically increasing
Return true if the elements of the input vector increase monotonically (i.e. each element is larger than the previous). Return f...
alrededor de 7 años hace
Resuelto
Who Has the Most Change?
You have a matrix for which each row is a person and the columns represent the number of quarters, nickels, dimes, and pennies t...
alrededor de 7 años hace
Resuelto
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 ...
alrededor de 7 años hace
Resuelto
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...
alrededor de 7 años hace
Resuelto
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. Examp...
alrededor de 7 años hace
Resuelto
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...
alrededor de 7 años hace
Resuelto
Determine if input is odd
Given the input n, return true if n is odd or false if n is even.
alrededor de 7 años hace
How can I plot the euro symbol? Which is its codification on matlab?
Take a look at the char function, you can look up the codes for other symbols here *https://www.ascii.cl/htmlcodes.htm* You can...
alrededor de 7 años hace | 1
Gettinga plot for daily Max values in a dataset for 8 months
There are many ways to do this, below is one example using inputdlg to get a user response for i =1:8 figure% create new...
alrededor de 7 años hace | 0
How to Curve Fitting saved plot (.fig)?
you can get the x y and z data from a fig %% some figure with data on it fig = figure(1); z = 0:10; x=15:25; y=...
alrededor de 7 años hace | 0
| aceptada
In the command window, use a for loop to fill a vector v with the squares of 2, 3, 4, 5.
you are overwriting your vector instead of filling the array v=zeros(1,4); % this is [0,0,0,0] v=[2,3,4,5]% pre-assi...
alrededor de 7 años hace | 0
| aceptada
What's the problem?
I assume you wanted to do an element divide see small below t=-50:1:50; y=(t.^2+9)./(t-3.^2); plot(t,y,'-k');
alrededor de 7 años hace | 0
Selecting numbers out of a text file?
Take a look at *str2num* txt='0,1,2,3,9,8.2,5,6,4,8,4,5,.2,4,3,2'; numArray=str2num(txt) if txt is a cell array you c...
alrededor de 7 años hace | 0
Hi please help me correct this error
function [func, j] = sysNonlinearEqs(X) % X here is a vector clc; % x = X(1); y = X(2); z = X(3) ; %Define F(x) ...
alrededor de 7 años hace | 0
| aceptada
how to select multiple files with similar extension
try looking at the following function *dir* path =pwd; extension = '.07' rtnFiles=dir(fullfile(path,['*' extension]))...
alrededor de 7 años hace | 0
| aceptada
Resuelto
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:...
más de 7 años hace
Resuelto
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 ...
más de 7 años hace
Resuelto
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...
más de 7 años hace
suppressing output from user defined function
When you *call* your function use a semi colon at the end of the function to suppress the output. try *f=fib(n)* and *f=fib(n...
más de 8 años hace | 2
| aceptada