Community Profile

photo

Cris LaPierre


MathWorks

352 2018 年以降の合計貢献数

Cris LaPierre's バッジ

  • 6 Month Streak
  • Thankful Level 1
  • Pro
  • Knowledgeable Level 4
  • Revival Level 3
  • First Answer

詳細を表示...

貢献した分野
表示方法

回答済み
Plotting using x-axis arrays that are not in monotonically increasing order?
Is your x vector evenly sampled? Without having actual data, my suggestion would be make x=1:length(latitude) and plot that. The...

4日 前 | 0

| 採用済み

回答済み
Fitting an Equation on to graph
If you have the curve fitting toolbox, define your fit equation using the fittype function. Using that fit object, fit to your d...

11日 前 | 0

回答済み
How to change for loop to flip graph?
We don't have your variable V so I can't verify, but would adding this to the end of your code do it? ax=gca; ax.YDir = 'rever...

12日 前 | 0

回答済み
Index in position 2
The ";" instead of ":" is one issue as madhan ravi pointed out. However, another issue is with your indexing of tdx in your for ...

13日 前 | 0

| 採用済み

回答済み
Matlab online is not working for me. It is showing "You already have an active Matlab session. Do you want to log out of the session and start a new one?" When I clicked "yes", it simply is not working. What should I do?
try resetting your MATLAB Online session: Go to https://drive.matlab.com Log in In upper right, click on your name and sele...

13日 前 | 0

回答済み
I installed matlab.mathworks online for machine learning course. Now it does not display anymore any simple function like A=eye(5). What went wrong and how to fix? thanks.
Has your license expired? If not, try resetting your MATLAB Online session: Go to https://drive.matlab.com Log in In upper ...

13日 前 | 0

回答済み
adjust scale of axes
Sorry, but not sure what that may be. What version of MATLAB are you using? Was this in a live script or a figure window? One w...

15日 前 | 0

回答済み
Subplot according to Real size
There is no good way to do what you want with subplot. Even if you merge multiple plots, there is no control over the size. You ...

15日 前 | 0

| 採用済み

回答済み
Using switch case with multiple variables (instead of just n, with n1, n2, etc.).
You can only switch on one variable. Try this instead x1=4; x2=4; y1=-4; y2=4; switch true case x1>0 && y1<0 && (y2>0 ...

15日 前 | 0

| 採用済み

回答済み
Large Text File Datastore
From the documentation, "Tall arrays provide a way to work with data backed by a datastore that can have millions or billions of...

15日 前 | 0

| 採用済み

回答済み
how to insert an equation in a edit fill
What do you mean by 'doesn't take the equation'? What is the expected behavior? How have you created this in app designer? I...

15日 前 | 0

回答済み
How to insert a colorcloud into a subplot
I'd probably set up all the plots, then add the uipanel last. figure; % Maximize the figure window. set(gcf,'Visible','on','u...

15日 前 | 2

| 採用済み

回答済み
How to get activation key
Depends on the use. For private use, consider purchasing the home license. To explore other options, visit the MathWorks stor...

18日 前 | 0

| 採用済み

回答済み
2D plot of a matrix using colors
There is a challenge here. If you just plot all of CH4emission1 you will just get a block that covers up the map. If you want to...

19日 前 | 1

| 採用済み

回答済み
Using interp1 to interpolate y values
Since interpolating your data doesn't make sense to me, I suggest trying to downsample y instead. idx46 = round(linspace(1,1534...

21日 前 | 1

| 採用済み

回答済み
why my graph doesnt start at 0, and how to fix it?
Which axis is supposed to start at 0? X or Y? X is years. That does not start at 0 because you define it to start at 1: years=...

21日 前 | 0

回答済み
Range of X values given Y parameters on graph
Are you looking for contiguous data within that range of y-values or do you just want the value of x that corresponds to the fir...

21日 前 | 0

| 採用済み

回答済み
How place the tick at the mid value of specific color range and uniform color bar across different ranges of data
I'll start a new anwer using a different approach. This time we'll manually define everything - no shortcuts. That should allow ...

21日 前 | 1

| 採用済み

回答済み
Hi! i have a error in example file.
You are trying to call a function that is not in your current folder nor on your path. It looks like this is the example you ar...

22日 前 | 1

| 採用済み

回答済み
How to get\read image from axes in GUI push button callback function and display the characters from the image in edit text ?
How'd you get the image into the axes in the first place? You should already have the data if you plotted it, so you don't need ...

22日 前 | 0

回答済み
How place the tick at the mid value of specific color range and uniform color bar across different ranges of data
Don't have your functions, so here's a quick mockup of how I might do it. % Use data set included in MATLAB surf(peaks) % Cre...

22日 前 | 1

回答済み
how to import data from workspace to gui?
Haven't tested anything to be sure, but have you looked into the function assignin?

約1ヶ月 前 | 0

回答済み
How can I crop a graph
The best method that comes to mind is to modify the data that is displayed (update line XData and YData) so just the relevant da...

約1ヶ月 前 | 0

回答済み
How can I group column of data with the same time stamp and get the row mean of each group?
The functions findgroup and splitapply allow you to group by similar time and take a mean of all data in each group. However, th...

約1ヶ月 前 | 0

| 採用済み

回答済み
Why no pasting allowed in "Matlab Answers"?
You can paste. We do it all the time. However, you have to use keyboard shortcuts: Copy: ctrl+c Cut: ctrl+x Paste: ctrl+v On...

約1ヶ月 前 | 0

| 採用済み

回答済み
Finding sequences and choose first one from that sequence
Simplifying somewhat. Try this % find magnitude of largest number in column 1 multFac = 10^ceil(log10(max(A(:,1)))) % Plan is...

約1ヶ月 前 | 1

回答済み
How to open two files instead of one, using this "for" loop?
I was thinking going much simpler. Again, unless there is a reason you are making it so complicated, why not just do something l...

約1ヶ月 前 | 1

| 採用済み

回答済み
fminbnd gives "Operands to the || and && operators must be convertible to logical scalar values"
Your objective function must return a scalar value. It appears to not always be doing that. When iteration=1 and i=42, it return...

約1ヶ月 前 | 0

回答済み
3D plot with multiple files
There's some punctuation issues making it difficult to understand the description of your data. Here's what I understand: X-val...

約1ヶ月 前 | 0

| 採用済み

回答済み
add reference point with known x y coordinates on imagesc
If you have the computer vision toolbox, use insertText. If not, use the text function. text(x,y,'+') Just keep in mind that ...

約1ヶ月 前 | 0

Load more