Community Profile

photo

Kareem Elgindy


Last seen: 9 months ago Active since 2020

Statistics

All
  • 5-Star Galaxy Level 2
  • Personal Best Downloads Level 2
  • Thankful Level 4
  • First Review
  • First Submission

View badges

Content Feed

View by

Question


Problem with piecewise Plots
The following commands do not show the last point of the graph of the function. Can someone explain why? syms f(t) f(t) = piec...

1 year ago | 1 answer | 0

1

answer

Question


Multiply Constant Array by Another Cell Array
How to multiply each element of [2 3] by {(1:3)';(-1:2)'} so that the output is {[2,4,6]';[-3,0,3,6]'}?

1 year ago | 1 answer | 0

1

answer

Question


Is There a Command in MATLAB Like WorkingPrecision in MATHEMATICA?
In MATHEMATICA, WorkingPrecision is an option for various numerical operations that specify the number of digits of precision th...

1 year ago | 2 answers | 0

2

answers

Question


Can we Generate a Random Matrix with No Repeated Elements
I'm aware of randperm, but it gives vectors rather than 2D matrices. One may also use a loop with randperm to generate a rand...

1 year ago | 1 answer | 0

1

answer

Question


Adjust the Motion Speed of animate Option in ezplot3
Consider syms t; ezplot3(t.^2,sin(t),t,[-2,2],'animate') How can I control the speed of motion in the animated plot?

1 year ago | 1 answer | 0

1

answer

Question


Why does vpa give a sym class variable?
>> vpa(cos(10)) ans = -0.83907152907645243811174395887065 Now, ans is 1x1 sym in the Workspace. Why? Isn't sym mean sym...

1 year ago | 2 answers | 0

2

answers

Question


Transparency violation error. See Workspace Transparency in MATLAB Statements.
When I execute the below code I get the title error. Can someone explain the error and how to fix it? N = 2:2:4; parfor j = 1:...

1 year ago | 1 answer | 0

1

answer

Question


Pausing to Save data and Then Rerun from the Same State
I have a code that is using parfor and is currently running for more than 6 days. Can I pause the code to save the obtained data...

2 years ago | 1 answer | 0

1

answer

Question


Parallel Computing Toolbox, Pausing, and Hibernation
Suppose we are running a code with the Parallel Computing Toolbox on a laptop and for some reason, you must leave and take yo...

2 years ago | 1 answer | 0

1

answer

Question


Execution of Two Independent parfor Loops in the Same Code
Suppose we have the following two independent parfor loops within the same code: parfor i = 1:a bla bla bla end parfor...

2 years ago | 1 answer | 0

1

answer

Question


Estimated Time Left for Executing a Code Using MATLAB Parallel Computing Toolbox
Is there a way to estimate the time left for executing a code using MATLAB Parallel Computing Toolbox? Assume for simplicity tha...

2 years ago | 1 answer | 0

1

answer

Question


MATLAB Parallel Computing Toolbox and Process Priority Settings
Before I started using MATLAB Parallel Computing Toolbox, I often set the priority of MATLAB in the Task Manager in Windows as e...

2 years ago | 1 answer | 0

1

answer

Question


Broadcast Variable Warning in MATLAB Parallel Computing Toolbox
When I ran a MATLAB code using MATLAB Parallel Computing Toolbox, I got messages like: The entire array or structure 'a' is a b...

2 years ago | 1 answer | 0

1

answer

Question


How to Run the Same MATLAB Code Through Two Laptops?
I have a large data and my laptop takes probably a week to finish one run of my code. I'm thinking to reduce the amount of time ...

2 years ago | 1 answer | 0

1

answer

Question


Why Does This Definition of a Piecewise Function Produce a Warning Message?
MATLAB issues a warning when defining the below piecewise function syms y(x); y(x) = piecewise(x<1, x+1, 1<=x<2, x-1); But w...

2 years ago | 1 answer | 0

1

answer

Question


Main Differences Between Symbolic Variables and Symbolic Functions
What are the main differences between them? I know that to evaluate a symbolic variable we use subs and to evaluate a symbolic f...

2 years ago | 3 answers | 0

3

answers

Question


Range of Resolution in exportgraphics
When using the command exportgraphics to save a figure, what is the possible range of Resolution option?

2 years ago | 1 answer | 0

1

answer

Answered
Which is Better for Polynomial Equations: roots or solve?
An outstanding answer!

2 years ago | 0

Question


Which is Better for Polynomial Equations: roots or solve?
Which one is better in terms of accuracy?

2 years ago | 2 answers | 0

2

answers

Question


Difference Between Export to PDF & Save AS... -> PDF in MATLAB Live Editor
Is there any difference between Export to PDF and clicking Save AS... then choosing PDF in MATLAB Live Editor?

2 years ago | 1 answer | 1

1

answer

Question


Difference Between Copy and Copy Output
If you right click an output in MATLAB Live script you will see "Copy" and "Copy Output" as two among other things you can selec...

2 years ago | 1 answer | 0

1

answer

Question


How to Use the Latex \bm for Math Symbols in ylabel?
Say we want to display x as a bold italics math symbol in ylabel. Is this possible?

2 years ago | 1 answer | 0

1

answer

Question


Command save writes to a nonreadable text file
When I execute the below Script file x = 2; y = x^5; save result.txt y and open result.txt in MATLAB, the text shown is not ...

2 years ago | 1 answer | 0

1

answer

Question


vpa Does Not Show the Required Number of Significant Digits
For the below example, MATLAB shows exactly 50 significant digits: >> vpa(cos(10),50) ans = -0.83907152907645243811174...

2 years ago | 2 answers | 0

2

answers

Submitted


Euler's Number
This function gives the numerical value of Euler's number accurate to 10,000 significant digits.

3 years ago | 3 downloads |

Question


Add a Title for Each Group of Subplots in a Figure Window
Suppose I have 2 rows and 4 columns of subplots in a figure window. How can I add a title for the first row and another title...

3 years ago | 1 answer | 0

1

answer

Question


How to Enclose a Figure Title in a Box?
I'm interested to learn how to place a figure title in a box using title and sgtitle commands.

3 years ago | 1 answer | 0

1

answer

Question


Delete StyleSheet from Print Preview Window
I saved a new StyleSheet named new after I changed certain parameters in the Print Preview Window. How can I delete this new Sty...

3 years ago | 0 answers | 0

0

answers

Question


How to Use arrayfun with a Multivariate Function of n Variables?
Suppose f(X) is a function of a vector X = [x1, x2, ..., xn]. How to evaluate the function at a certain range of values, say y1,...

3 years ago | 2 answers | 0

2

answers

Question


How to Code This Using filter?
I don't know how to use filter and unfortunately the Help Documentation of filter is not useful enough for me. I'd like to use f...

3 years ago | 1 answer | 0

1

answer

Load more