photo

Jonathan Chin


Last seen: 2개월 전 2016년부터 활동

Followers: 0   Following: 0

메시지

통계학

All
  • Knowledgeable Level 2
  • Solver
  • First Answer

배지 보기

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

거의 7년 전 | 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...

거의 7년 전 | 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...

거의 7년 전 | 0

| 수락됨

답변 있음
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...

대략 7년 전 | 0

답변 있음
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...

대략 7년 전 | 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...

대략 7년 전 | 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=...

대략 7년 전 | 0

| 수락됨

답변 있음
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...

대략 7년 전 | 0

| 수락됨

답변 있음
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');

대략 7년 전 | 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...

대략 7년 전 | 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) ...

대략 7년 전 | 0

| 수락됨

답변 있음
how to select multiple files with similar extension
try looking at the following function *dir* path =pwd; extension = '.07' rtnFiles=dir(fullfile(path,['*' extension]))...

대략 7년 전 | 0

| 수락됨

답변 있음
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...

8년 초과 전 | 2

| 수락됨