Community Profile

photo

ME


441 2016 年以降の合計貢献数

Working in mathematical biology.

ME's バッジ

  • Scavenger Finisher
  • Knowledgeable Level 3
  • Revival Level 1
  • First Answer
  • ASEE Challenge Master
  • Introduction to MATLAB Master
  • Project Euler I
  • Leader
  • Speed Demon
  • Community Group Solver
  • Divisible by x Master
  • Strings I Master
  • Matrix Manipulation I Master
  • Indexing I Master
  • CUP Challenge Master

すべて表示

貢献した分野
表示方法

回答済み
load .mat files into a loop
You could store the filenames for your arrays into an array (possibly cell array might be better if they aren't all the same num...

約19時間 前 | 1

| 採用済み

回答済み
How to plot a matrix with reoccurring values?
Take for example a matrix: vals = [1 1;2 1;2 2; 1 2; 1 3; 2 3; 2 4; 1 4]; which is of the form you describe above. Then do: p...

約22時間 前 | 1

| 採用済み

回答済み
Problem finding the index?
The problem is the precision which which your machine is able to store numbers. You are asking MATLAb to find an exact match to ...

約22時間 前 | 0

| 採用済み

回答済み
Finding index (x value) of noisy data crossing a threshold value
idx = find(SmoothedData > Threshold); Width = Xdata(max(idx)) - Xdata(min(idx)); Here the first line finds all indices of poin...

3日 前 | 0

回答済み
How to change Marker Color in line graph?
Can you try the below and let us know what happens please? I don't have the necessary toolboxes to check it myself. load('MCA_D...

5日 前 | 0

| 採用済み

回答済み
How Change Matrix Shape / Setting
Not necessarily a pretty solution but the below will do what you want for the given table. Should give you enough of an idea of ...

5日 前 | 1

| 採用済み

回答済み
How to rewrite the maximum element of an array by an avarage
So, if I have interpreted your question correctly then you have an array (say A) and you wish to find the maximum valued element...

5日 前 | 0

| 採用済み

回答済み
Concatenate 8X4 matrix in 16X2 matrix in matlab
This should do it: B = [A(:,1:2); A(:,3:4)]

5日 前 | 1

| 採用済み

回答済み
HELP NEEDED_ODE45MATLAB
Your problem here is that you haven't passed your parameters into the function. The line: function dY=ODEfun(t,Y,a,b,c,E,h1,N,D...

5日 前 | 0

回答済み
Why don't you draw the line of vectors on the graph?
I think this is because you are plotting inside your while loop. Here you are telling it to plot one data point each time and so...

5日 前 | 0

| 採用済み

回答済み
How can I use one matrix to assign values to a second matrix using a for loop?
Based on your definition there is nothing to diffuse. If the values is the same all along your domain then there won't be any ch...

8日 前 | 1

| 採用済み

回答済み
Find zeros of numeric function
You could use fzero for this. Only issue is that it returns the zero closest to a chosen start point, therefore I've put a loop ...

8日 前 | 0

| 採用済み

回答済み
Plotting a matrix in a for loop.
You have a couple of options here. One is that you store all of the steps of the Markov chain during the for loop and then plot ...

10日 前 | 0

| 採用済み

回答済み
change scale for colorbar
Have you tried looking at the below link - seems like that might do what you want https://uk.mathworks.com/matlabcentral/answer...

10日 前 | 0

回答済み
problem in maximizing figure window in matlab 2016a
If you are using R2018a or after then you can use f = figure; f.WindowState = 'maximized'; to maximise the figure window. To ...

10日 前 | 0

回答済み
White lines in 2D figure when exporting it
There isn't an accepted answer, but the following question has a lot of potential pointers that might be of use. https://uk.mat...

10日 前 | 0

| 採用済み

解決済み


Get the area codes from a list of phone numbers
Given a string of text with phone numbers in it, return a unique'd cell array of strings that are the area codes. s = '508-6...

12日 前

解決済み


Connect Four Win Checker
<http://en.wikipedia.org/wiki/Connect_Four Connect Four> is a game where you try to get four pieces in a row. For this problem, ...

12日 前

解決済み


Test for balanced parentheses
Given the input inStr, give the boolean output out indicating whether all the parentheses are balanced. Examples: * If ...

12日 前

解決済み


Clean the List of Names
Given a list of names in a cell array, remove any duplications that result from different capitalizations of the same string. So...

12日 前

解決済み


Indexed Probability Table
This question was inspired by a Stack Overflow question forwarded to me by Matt Simoneau. Given a vector x, make an indexed pro...

12日 前

回答済み
Why does my ticks/ticks label not match the colour in my colour bar?
Not sure how to do it programatically but in the figure window you can go to "Edit -> Colormap..." and then move the little arro...

12日 前 | 0

回答済み
Adding RAM would it speed up the computations done by Matlab?
Increasing your RAM will only really be beneficial for operations on large matrices. If you are struggling with the speed of a s...

15日 前 | 0

| 採用済み

回答済み
Find element index of one array which is equal to the values from another array
A = [1,1,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,4]; B = [1,1,1,1,1,1,3,3,3,3]; u=unique(B); C=[]; for i=1:numel(u) C=[C find(A...

15日 前 | 1

| 採用済み

回答済み
What timestep does my ode15s solver use?
Assuming you call ode15s with [t,y]=ode15s... then you can just use diff(t) which will show you the difference between each of...

16日 前 | 0

回答済み
Solving a cubic function to get one numeric result?
You aren't going to solve this properly by getting an output of one numerical solution because a cubic equation does actually ha...

18日 前 | 0

解決済み


How to find the position of an element in a vector without using the find function
Write a function posX=findPosition(x,y) where x is a vector and y is the number that you are searching for.

19日 前

回答済み
How can I change the title of variables ?
Output=yhat; Unemployment=URhat; Consumption=chat; wage=what; You can always also use: clear vars yhat URhat chat what if ...

22日 前 | 0

解決済み


The Goldbach Conjecture, Part 2
The <http://en.wikipedia.org/wiki/Goldbach's_conjecture Goldbach conjecture> asserts that every even integer greater than 2 can ...

22日 前

解決済み


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

22日 前

Load more