Community Profile

photo

Mohammad Alhashash


Albalqa' Applied University

Last seen: quasi 2 anni fa Attivo dal 2017

Followers: 0   Following: 0

Contatto

Statistiche

All
  • Introduction to MATLAB Master
  • Community Group Solver
  • First Submission
  • Knowledgeable Level 2
  • Solver
  • First Answer

Visualizza badge

Feeds

Visto da

Risposto
Randomising a vector with respect to the probability of the outcome
You can use the randperm function to build 12 basic 5-by-1 matrices and then map the values into 0 and 1 based one your probabil...

oltre 2 anni fa | 1

| accettato

Risposto
Associate Map container with specific values
You store these Map containers into cell array of structure and create another Map container for mapping states into their corre...

oltre 2 anni fa | 0

Risposto
Saving figures into structure?
Yes you can by simply save the plotting command (plot, bar, ...) as a string, and then use eval command to excute it. However, k...

oltre 2 anni fa | 1

Risposto
how can we perform 6x6 matrix without values to find the inverse and determination
You can do that using the Symbolic Math Toolbox. And you can check wether you have this toolbox or not using the simple command ...

quasi 5 anni fa | 0

| accettato

Risposto
How to plot sine graph by using for loop?
maybe that is what you need. t= 0:0.01:2*pi; m =sin(t); t_plot = NaN(1,length(t)); m_plot = NaN(1,length(m)); u = 1; for...

quasi 5 anni fa | 0

Risposto
Need help plotting a function in matlab
x = -10:0.05:10; fun_x_1 = exp(-0.3*x(x<0)); fun_x_2 = sin(x(x>=0).^3)-sin(x(x>=0).^2)+1; plot(x(x<0),fun_x_1,x(x>=0),fun_x_2...

quasi 5 anni fa | 0

| accettato

Risposto
Enforce the norm of the addition of two vectors plus scalar
I assumed that a and b are 3 elements-vector and then solved the equation beta analytically. a = [1 2 3]; b = [2 3 4]; beta =...

quasi 5 anni fa | 0

| accettato

Risposto
Create symbolic variables with assumptions (syms)
Then try this one syms x assume(x,'real')

quasi 5 anni fa | 0

Risposto
Plot lines with different colors each iteration
I've I assumed the loop index to be ii, then you can modify the plot portion of your code to be: colorInd='ckyrb'; plot(ve...

quasi 6 anni fa | 0