Community Profile

photo

Cris LaPierre


MathWorks

458 total contributions since 2018

Cris LaPierre's Badges

  • Thankful Level 2
  • Revival Level 4
  • 6 Month Streak
  • Solver
  • Pro
  • Knowledgeable Level 4
  • First Answer

View details...

Contributions in
View by

Answered
How to change background color of an image in a GUI
If you can save your image as a png instead, see this post about displaying png images with transparent backgrounds. Even with ...

9 días ago | 1

| accepted

Answered
How to seperate my function file from my script
There are several examples given on this page.

9 días ago | 0

Answered
How do I Perform Summation based on dates from Excel File
It sounds like you need to read the data in as a timetable. opts = detectImportOptions('Oghenovo_Okpako_TT.xlsx'); data = read...

9 días ago | 1

Answered
"Installer does not have sufficient permissions to install this add-on. Add-Ons installation folder must be writable"
This is likely a permissions issue on your computer. There are two easy ways around this. Either run MATLAB as an administrator...

9 días ago | 1

| accepted

Answered
Why the file path get wrong after I packed my app code written by App Designer to a Web App?
Not sure it provides much of a description, but you can read a little about in this answer.

9 días ago | 0

| accepted

Answered
How to draw the below type of graph in MATLAB?
I didn't worry about importing your data specifically since it appears to be a summary and not the raw data anyway. % import ba...

10 días ago | 2

| accepted

Answered
Simulink Onramp 13.1 Task 4
Just went through this task. It works for me. First suggestion would be to restart MATLAB and see if the behavior continues. If ...

11 días ago | 0

| accepted

Answered
How do i do calculations within a table based on groups
Doable, but it's not pretty. Groupsummary only allows you to use data from a single variable. I couldn't find a way to get that ...

11 días ago | 0

| accepted

Answered
How to initiate an existing callback from a current callback in Matlab app-designer?
callbacks are just functions. Call them using app.<callback name>. Just set the inputs correctly. function NextButtonPushed(app...

11 días ago | 0

| accepted

Answered
I wish to open a saved figure in the figure number of my choice.
See this post. Basically, use the figure command and specify the number. figure(5) Just beware that, if that figure exists (i...

12 días ago | 0

Answered
How to add annotations to a plot by accessing data from a table?
Use the text function. You can use sprintf to build the text to display on the plot. If you need it to be automated, use logic...

12 días ago | 0

Answered
Unable to save files in MATLAB Online
The file system for MATLAB Online is MATLAB Drive. Try logging in to drive.matlab.com and see if your files are showing up there...

12 días ago | 0

Answered
long and lat map plot
Does this post about creating a plot from an nc file help?

12 días ago | 0

| accepted

Answered
Error opening Excel file in Matlab using actxserver
I think you need to include the entire path in the filename. file = 'C:\user\me\Documents\example.xls'; excel = actxserver('Ex...

15 días ago | 0

| accepted

Answered
Regarding matlab cody solutions
Cody is meant more as a game. It offers a chance to solve various challenges and then compare your solution to what others with ...

15 días ago | 1

| accepted

Answered
Axis labels for subplot figure
Does the solution given here work for you?

21 días ago | 0

Answered
Copy and Paste Matrix into Word
Your code for doing this programmatically is close. I'd suggest using sprintf to create the formatted strings, then write that t...

22 días ago | 0

| accepted

Answered
Copy and Paste Matrix into Word
There is a quick and easy way to get it to Word. If you are using a live script, from the Live Editor tab select Save > Export t...

22 días ago | 0

Answered
reading tables from .doc word file
Here's some starter code for you. Be aware that this code assumes that, if there are multiple tables, they are all the same size...

23 días ago | 0

| accepted

Answered
How can I get access to MATLAB online for an EdX-course?
There is a free license provided to all students enrolled in the course. Follow the instructions on the Software page, located i...

23 días ago | 1

| accepted

Answered
Problem with retime function
It can be done in pieces. retime applies the same method to all timetable variables. You'll need to create new timetables (only ...

23 días ago | 0

| accepted

Answered
Does try,catch delete variables from the workspace?
I'm curious if you are aware of MATLAB Grader. This could potentially spare you a lot of work.

24 días ago | 0

Answered
Is there a way to forbid using the "\" command in MATLAB Grader submissions?
There is no built-in way to prevent student solutions from using "\".

24 días ago | 0

Answered
how to block reference files for teachers only?
Why do you want to upload a file? Why not just add your solution as the reference solution? Students will not be able to view th...

24 días ago | 2

| accepted

Answered
Standalone GUI application gives error at uigetfile. But if run from matlab, the script works fine
Looks like you have an incorrect function name. What is "I will" supposed to be? fprintf('== Came to the pushbuttonBrowse_Callb...

24 días ago | 0

Answered
How do I make a widget initialize as "invisible" in App Designer?
Set their visibility property to "off". In Design View, select the component, and in the component browser (on the right) under...

24 días ago | 0

Answered
How to assign a callback to a gui element created at runtime
You're close. I see two errors. 1. "Not enough input arguments" is because you are not passing 2 inputs to your callback functi...

24 días ago | 0

| accepted

Solved


Remove any row in which a NaN appears
Given the matrix A, return B in which all the rows that have one or more <http://www.mathworks.com/help/techdoc/ref/nan.html NaN...

2 meses ago

Solved


Finding Perfect Squares
Given a vector of numbers, return true if one of the numbers is a square of one of the other numbers. Otherwise return false. E...

2 meses ago

Solved


Sum all integers from 1 to 2^n
Given the number x, y must be the summation of all integers from 1 to 2^x. For instance if x=2 then y must be 1+2+3+4=10.

2 meses ago

Load more