Community Profile

photo

Diaa


Last seen: Today

ASU

9 total contributions since 2014

Contact

Diaa's Badges

  • Thankful Level 2
  • First Answer
  • First Review

View details...

Contributions in
View by

Question


'deal' doesn't distribute the elements of a calculated array out of cellfun
For the following syms syma symb eqns = [... syma*exp(symb)== 1,... syma*exp(symb*1500) == 5,... ]; vars = [s...

3 days ago | 1 answer | 0

1

answer

Answered
How do I skip items in a legend?
You can simply delete the last undesired entry by the following: % assume you plotted some curves before this line and all of t...

12 days ago | 0

Answered
autorename if saved file already exist
Revisitng this old question, I followed the idea of Jan to come up with this solution of appending the existent file name with a...

2 months ago | 1

Question


Is it possible to have an inline function inside a cell array to conditionally return an element to be stored?
Consider I have mycondition = true; truestatement = 'yes'; % returned by the inline function when mycondition is true falsest...

2 months ago | 2 answers | 0

2

answers

Answered
How to selectively save the names and values of some workspace variables to a CSV file?
Thanks to the inspiring answer of @Rik, I found the following solution without the need to use for loop a = 3; b=7; c=5; d=9; ...

3 months ago | 0

Question


How to selectively save the names and values of some workspace variables to a CSV file?
Consider the following a = 3; b=7; c=5; d=9; save('test.mat') data = load('test.mat'); toSave = { 'b' ; 'c' }; writece...

3 months ago | 2 answers | 0

2

answers

Question


Write to an already opened Excel file
The following MATLAB code works well for writing eActiveSheetRange.Value to the range eActiveSheetRange However, I have t...

4 months ago | 1 answer | 0

1

answer

Question


Live scripts stored in MATLAB Drive are assumed to be located in Temp folder
I have MATLAB R2019a on Win10 and MATLAB Drive Connector. Some live scripts are stored in the local MATLAB Drive folder. Howeve...

1 year ago | 1 answer | 0

1

answer

Question


Reshaping Nodal Spatial Vectors into 3D Matrices for Countourslice
I have a problem of temperature field across a cubic domain. My nodes locations are stored in 3 column vectors of *x=[x1 x2 ....

6 years ago | 0 answers | 0

0

answers