답변 있음
How to replace variables in symbolic function with values from a vector
You probably want the function subs()

거의 10년 전 | 0

| 수락됨

답변 있음
zoom-in into figure, doesn't change Y axes
Try setting the YTickLabelMode or the YTickMode to 'auto' or 'manual'. e. g. ax = gca; ax.YTickLabelMode = 'auto'; ...

거의 10년 전 | 2

| 수락됨

문제


how to concatenate matrices
What is the name of the function used to create a matrix C form two matrices A and B, using the syntax: C = [A B]; Outpu...

거의 10년 전 | 1 | 솔버 수: 16

문제


time of day
Calculate the time of day in days, hours, minutes or seconds passed since the beginning of the day, depending on the unit. The u...

거의 10년 전 | 1 | 솔버 수: 29

문제


microseconds passed today
Calculate the amount of microseconds (as a string) passed for a given date string

거의 10년 전 | 2 | 솔버 수: 93

문제


nanoseconds passed today
Calculate the amount of nanoseconds passed in the current day of a certain date string.

거의 10년 전 | 2 | 솔버 수: 19

답변 있음
Change the axis label unit length
You can set the XTick and XTickLabel properties. ax = gca; ax.XTick = [...]; %vector containing ticks you would like (sp...

거의 10년 전 | 1

| 수락됨

답변 있음
Could someone please point out the error in my code?
If you want to find out if it is correct, look at the units. What you want as a result is currency, let's say £. rate = units...

거의 10년 전 | 0

| 수락됨

답변 있음
How do you determine which numbers in a vector are factors of 144 by indexing through it using loops?
tf = false(size(vector)); for i = 1:length(vector) if mod(144,vector(i)) == 0 tf(i) = true; end end...

거의 10년 전 | 0

답변 있음
Maximum of my own function
syms x f1 = 5*x + 2; F1 = int(f1); % integrate x_ext = solve(f1 == 0); % solve for x = 0 % limits for x --> -inf &...

거의 10년 전 | 1

| 수락됨

제출됨


norminvlim
For generating normal distributions limited to an upper and lower boundary

거의 10년 전 | 다운로드 수: 86 |

5.0 / 5

문제를 풀었습니다


Get Cody's screen size
Return an object that helps this problem's test suite return Cody's screen size.

거의 10년 전

답변 있음
character array vs cell array empty cells
That's 3 questions ;) # I'm not sure I understand what you mean. If I create a cell array, it displays like this in the comma...

거의 10년 전 | 0

| 수락됨

답변 있음
place matrix in array part 2
Well if y = [ones(3,1); -ones(3,1)] % or y = [1; 1; 1; -1; -1; -1]; and x is take...

거의 10년 전 | 1

| 수락됨

답변 있음
How to remove for loops in this code?
If lsqcurvefit() can't be run on matrices, you may not be able to reduce the loop nesting. But if it is a lot of data, you can ...

거의 10년 전 | 0

문제


A little bit of luck needed
This one may require a little bit of guess work, but it is possible. Hints: - The same solution might fail the tests once and ...

거의 10년 전 | 1 | 솔버 수: 29

답변 있음
Copying Profile results into Word/Excel
Did you use? p = profile(...) If so, you could use xlswrite(). Otherwise, try saving the HTML results using profsa...

거의 10년 전 | 0

| 수락됨

답변 있음
Read a .mat file and write .csv without opening matlab
You won't be able to run a Matlab-file without opening Matlab - unless you use another program that is compatible. However, y...

거의 10년 전 | 0

| 수락됨

답변 있음
how can I store for loop result in different row(for each i) and column(for each j given i)?
You could do it like this: stock = nan(17,5676); rCT = 0; %row counter cCT = 0; %column counter maxC = 0; %for ...

거의 10년 전 | 0

답변 있음
unsupported MATLAB function call for matlab function 'datastore'
You can look into the code edit datastore Maybe it's possible to create a function that does the same without using unsu...

거의 10년 전 | 0

답변 있음
can i uninstall matlab 2016a after installing matlab 2016b?
Yes, you can uninstall it. It should also have copied over your search path and preferences. But just in case, I would recommend...

거의 10년 전 | 1

| 수락됨

답변 있음
I need to create a tab group in a pre-existing GUI
<https://de.mathworks.com/matlabcentral/fileexchange/54705-tabmanager-create-tab-panels--uitabgroup--from-a-guide-gui This FileE...

거의 10년 전 | 0

제출됨


dateunix
Class for time stamps in the UNIX format

거의 10년 전 | 다운로드 수: 55 |

5.0 / 5

답변 있음
How do seperate a string in different strings while not creating new strings for variables
Use inds1 = strfind(A.input,']'); inds2 = strfind(A.input,'['); to get the locations of the variables.

거의 10년 전 | 0

답변 있음
Standalone application giving error (function dataset) when Matlab is working fine
Here's a few things you can do to debug: # see if there is only one function called dataset in your search path and make sure...

거의 10년 전 | 0

답변 있음
Display TODO/FIXME report in command window
I got it to work <http://stackoverflow.com/a/40022882/5002159 by modifying the builtin DOFIXRPT function>.

거의 10년 전 | 0

질문


Display TODO/FIXME report in command window
Hi everyone. Using the command checkcode('function.m') you can run the code analyzer on an m-file and output the repo...

대략 10년 전 | 답변 수: 1 | 0

1

답변

답변 있음
Minimum cell of a matrix
You need to end every loop and if statement with an end keyword Min=inf; for Row =1:size(B,1) for Col==1:size(B,2)...

대략 10년 전 | 1

답변 있음
I am having trouble getting the code to display how many days AND which days of the month things are occurring on (lines 29 and 36 in the script image). See attached images.
In your first problem (Anchorage temp above NYC temp), you print x. But x is your looping index. So it always ends up as length(...

대략 10년 전 | 1

답변 있음
read in text file and place each word of the sentence it's own separate cell
If you already have a cell array C with the separated sentences: D = cell(1, length(C)); for i = 1:length(C) c = ...

대략 10년 전 | 0

| 수락됨

더 보기