Community Profile

photo

Marco Castelli


Politecnico di Milano

Last seen: 8 mesi fa Attivo dal 2012

Followers: 0   Following: 0

Contatto

Professional Interests: Civil and Structural Engineer

Statistiche

All
  • Scavenger Finisher
  • Thankful Level 1
  • First Answer
  • ASEE Challenge Master
  • Community Group Solver
  • First Review
  • Introduction to MATLAB Master
  • Famous
  • Cody5 Easy Master
  • Scholar
  • CUP Challenge Master
  • Quiz Master

Visualizza badge

Feeds

Visto da

Domanda


DICE: launch N times
I get N dice of which each face has a number from 1 to 6. I'd like representing all the possibility with a matrix in which each...

circa 7 anni fa | 2 risposte | 0

2

risposte

Domanda


pause with time and keyboard
I have put the |pause| function in my code. After pause I would like to restart the script after some time (i.e. 10 seconds) or...

oltre 9 anni fa | 1 risposta | 0

1

risposta

Risposto
How can I graph the following parametric functions on a 3d graph?
If R is a constant the code is: theta=[0:0.1:6.28]; phi=[0:0.1:6.28]; R=2; [THETA,PHI]=meshgrid(theta,phi); X2=...

oltre 9 anni fa | 0

Risposto
Figure of screen size
If your screen has for example the resolution 1920x1080: fig1 = figure; pos_fig1 = [0 0 1920 1080]; set(fig1,'Positio...

oltre 9 anni fa | 0

Risposto
parfor. Error: The variable eavg in a parfor cannot be classified.
*@Mohammad Abouali* : Thanks to you help I solve the problem in this way: parfor i0 = 1:size(vett,2) if curva~=2 ...

oltre 9 anni fa | 0

Domanda


parfor. Error: The variable eavg in a parfor cannot be classified.
I have already read other topic on Errors and parfor but i don't find the answer to my problem. My code give me an Error: "E...

oltre 9 anni fa | 2 risposte | 0

2

risposte

Risposto
How to Resize data in column vector?
A=[0;0;0;0;0;232;222;245;342;232; 0;0;0;0;0;0;0345;323;324;345;343;0;0;0]; idx = []; for i1 = 2:length(A) if and(...

oltre 9 anni fa | 0

Domanda


Matlab Trendy - error everyday
My trendy ( <http://www.mathworks.com/matlabcentral/trendy/trends/2270 link> ) shows the following error everyday: This ...

oltre 9 anni fa | 0 risposte | 0

0

risposte

Risposto
interpolation x,y coordinate
write |cftool| on the Command Window to use the Curve Fitting Tool. It works also with surface.

quasi 10 anni fa | 1

Domanda


beam's cross-section
Hi, I'm looking for a script or function able to calculate the properties of the cross-section of a beam. I need to know centro...

circa 11 anni fa | 1 risposta | 0

1

risposta

Domanda


How many variables in workspace
Hi, I need a function how return the number of variables in the Workspace. Does Someone knows if this function exists? thank...

oltre 11 anni fa | 2 risposte | 0

2

risposte

Domanda


Cody: Problem 30 - function Sortrows
Hi, i'm "solving" number 30 cody's problem. I think to solve that whit sortrows function. If I have a z vector: j ...

oltre 11 anni fa | 2 risposte | 0

2

risposte