Community Profile

photo

Cris LaPierre


Last seen: 1日 前

MathWorks

1,864 2018 年以降の合計貢献数

Cris LaPierre's バッジ

  • 12 Month Streak
  • Guiding Light
  • Thankful Level 2
  • Revival Level 4
  • Solver
  • Knowledgeable Level 4
  • First Answer

詳細を表示...

貢献した分野
表示方法

回答済み
MATLAB Associate Certification information
You can find the information and links to answer your questions in this answer: https://www.mathworks.com/matlabcentral/answers...

約17時間 前 | 0

回答済み
How to take input from Edit Text Field and load the data with Push Button
I'd be wary of having manual name entry. See this answer on how to use uigetfile. https://www.mathworks.com/matlabcentral/answe...

約21時間 前 | 0

回答済み
ODE45 - problem with parameters passed in odefcn
I found this example helpful: https://www.mathworks.com/help/matlab/ref/ode45.html#bu3uhuk I think you need to set up your odef...

約22時間 前 | 1

| 採用済み

回答済み
How to assign a colour to particular value and rest of the values have their standard colours
One solution I can think of is to replace all zeros with NaN. In a contour plot, NaNs display as white. Z=meshgrid(-0.1:0.001:0...

約23時間 前 | 0

回答済み
how to plot contour lines on Joint Histogram plot
I'll share a couple thoughts about how I would try to approach this. In order to create a contour plot, MATLAB requires the inp...

1日 前 | 0

回答済み
Contour plot of bivariate distributions from XY data (not independent)?
Definitely not an expert when it comes to this, but this sounded interesting so I thought I'd take a stab at it. I found the Plo...

1日 前 | 1

| 採用済み

回答済み
How to fix error: "Index in position 1 is invalid. Array indices must be positive integers or logical values"
You need to incorprate a method that restricts your indices to the resolution of the pixels of your image. I find min and max wo...

2日 前 | 0

回答済み
How do I get index matrix for matrix of values?
Now I'm confused, too. You've now posted two completely different types of index matrices. Perhaps instead, could you explain ho...

2日 前 | 1

| 採用済み

回答済み
how can i download Psychtoolbox?
The second command will take a long time and may generate a lot of output. Please be patient. If the download fails, read below...

2日 前 | 0

回答済み
Unable to add uicontrol to uifigure
Try using uieditfield instead of uicontrol. See here.

2日 前 | 0

| 採用済み

回答済み
errors in sortrow in matlabr2020
When I run your code, your variable sol is empty. This is why it is throwing an error. You are asking it to sort by column 8, bu...

2日 前 | 0

回答済み
Readability of matlab code
I would not recommend global variables. Perhaps look into nested functions. All variables defined in the parent function are a...

2日 前 | 0

回答済み
Plotting two lines in 3d
Look into plot3.

2日 前 | 0

回答済み
How to create 3d figures as follows
Once you know the property names, it's just a matter of setting the desired value. It does seem your equation creates a differen...

3日 前 | 1

| 採用済み

回答済み
How can I plot x,y,z position of particles over time from a multidimensional array?
Based on my understanding, here's how I would approch this. I swapped your for loops so that it selects a particle, and then wor...

3日 前 | 0

| 採用済み

回答済み
How do I convert the vector to matrix 16 * 16
Use reshape inv_s_vox = reshape(1:256,[16,16])

3日 前 | 0

| 採用済み

回答済み
Why it shows that index exceeds the number of array elements???
You must have a variable defined as either mean, var, or std. Clear your workspace and try again. areas = [5176 5183 5165]; ar...

3日 前 | 1

回答済み
Streamlines do not plot
I think this is causing your streamlines to not show up startx=zeros(size(starty)) Based on the example in the documentation, ...

3日 前 | 0

回答済み
How to force a matlab script to rerun the script from the beginning using list items and if statement?
Scripts execute from top to bottom. MATLAB does not have a GOTO command. However, you can accomplish this by reorganzing your co...

3日 前 | 1

| 採用済み

回答済み
How to show the bin' percentage values' in a histogram?
The issue is with how you defined your binranges. When you don't specify a step size, the colon operator uses 1. binranges = -0...

3日 前 | 0

| 採用済み

回答済み
Why wont the lines on my plot show up
I think the issue is that you are using a vector in the conditional statement of your if statement. An if statement expects a si...

3日 前 | 0

回答済み
Scatter plot customization question
Your third input is specifying the marker size. scatter(x,y,sz) Perhps a better choice might be a group scatter plot. Here, yo...

4日 前 | 0

回答済み
readtable, excel, date base
Perhaps with the DatetimeType name value pair. You can find details in the Name-Value Pair Arguments section of the documentatio...

4日 前 | 0

回答済み
Forming a matrix from data
To put elements on separate rows, you can either put a semicolon between the numbers, or enter them on separate lines. You have ...

4日 前 | 0

| 採用済み

回答済み
Convert string array to numerical vector
Use str2double A = ["01";"04";"12"]; B = str2double(A)

4日 前 | 0

| 採用済み

回答済み
how to use legend syntax properly
I think you might not understand what a legend is. Have a look at the documentation. It sounds like you want xlabel and ylabel...

4日 前 | 0

| 採用済み

回答済み
How to create calcium traces of individual neurons and club them together in one representation (see image for reference)?
Look into stackedplot, or tiledlayout. If you are new to MATLAB, you may also benefit by going through MATLAB Onramp.

4日 前 | 0

| 採用済み

回答済み
How do I turn this 4x1 table to 60x1? It says "To assign to or create a variable in a table, the number of rows must match the height of the table."
You are trying to assing a table to a single element, resulting in the image. Perhaps you want to concatenate the tables on top ...

5日 前 | 0

回答済み
change start point of plot
You can change the first point's y value from 105 to 0. d=datetime(2020,1,1):calmonths:datetime(2020,12,1); y = randi(160,[1,1...

5日 前 | 0

回答済み
Iteration of Ideal Gas Law
Iteractions can be done using either for loops or while loops. If you want to repeat until a condition is met, a while loop is ...

5日 前 | 0

Load more