Community Profile

photo

Mech Princess


Active since 2011

Statistics

  • First Review
  • Thankful Level 3
  • Revival Level 1
  • First Answer

View badges

Content Feed

View by

Answered
How to calculate the average without taking zeros values?
mean(nonzeros(X)) Y=[1 2 4 5 6 7 0 0 0 8 9 0 0 0 0; ... 2 3 4 5 6 7 0 0 0 8 0 0 0 9 0;... 3 4 5 6 7 8 9 0 0 0...

5 years ago | 1

Question


How to ignore not serializable variables when saving workspace
Hi. I am collecting data from external equipment which communicates with java. I need to save the workspace but it won't save a...

5 years ago | 2 answers | 0

2

answers

Answered
Can't save workspace of 3 month calculation - URGENT
So the problem is that there are some variables that are communicating with java. So once it comes to that variable, it stops sa...

5 years ago | 0

Question


How can I resave old figures?
hi everyone, I have an old figure saved in MyFigure.fig format. Now I want to edit/add/remove something from this. So I open th...

7 years ago | 0 answers | 0

0

answers

Question


2014b alpha (transparency) bug
2014b alpha (transparency) doesn't work. Does anyone know a fix for this? thanks alpha(0.5) %does nothing to my bar plot

9 years ago | 0 answers | 0

0

answers

Question


linkaxes with different x scales
Hi, I have 2 plots with same y axis but different x axis. But the two x axis are propotional. How do I link x=1 of plot 1 to x=1...

9 years ago | 3 answers | 0

3

answers

Answered
How do I remove lines atached to each point in the STEM plot in MATLAB?
there are places easier to use stem than plot stem(1:10,rand(10,1),'LineStyle','none'); %removes the line Other options ...

9 years ago | 3

Question


saving small data in '-v7.3' format
I am trying to figure out how '-v7.3' changes the saving method. I read in the help that it compresses files larger than 2GB. Is...

10 years ago | 0 answers | 0

0

answers

Question


Vertical Line plot - change properties together
Hi matlab comunity, I have a plot with 100 lines (using line command). Now, I want to change the color, line style and line wid...

10 years ago | 3 answers | 0

3

answers

Question


Script displays every line while running
I am using 2012a version. When I run a script from F5 or play button, it writes every line on the command window. How do I make...

10 years ago | 1 answer | 0

1

answer

Answered
Set title and axis font type, scale and size
add ,'FontSize',22) to the end example xlabel('radius of snowflakes (pixels)','FontSize',22);

11 years ago | 0

Question


How do I find slack variables in SVM?/ Distance to the boundary?
Hi, I used "svmtrain" to train the algorithm: svmStruct=svmtrain(xdata,group); I used "svmclassify" to classify. My data is...

11 years ago | 2 answers | 0

2

answers

Question


How to input a 3D matrix to SVMtrain? (2class problem)
Hi. I have a 3D matrix Training (4x12x7) with first dimension being the number of samples. Group gives the labels +1 or -1. I g...

11 years ago | 1 answer | 0

1

answer

Answered
How to extract Numbers from a textfile
Does this help http://www.mathworks.com/help/matlab/ref/importdata.html

11 years ago | 0

Question


line plot of events with value
I want to plot TEST values (amplitude) against the given time in TEST_TS. Then I want to plot vertical lines at given times of ...

11 years ago | 0 answers | 0

0

answers

Question


Coeff & constants of a symbolic equation
syms a b c exp=[-a-2*b-3*c+2, 4*b-c, -5*a+3] I need the coefficient matrix in the form % Coef_matrix=[ -1, -2, -3, ...

11 years ago | 1 answer | 0

1

answer

Question


Extracting coeffients and constants from a symbolic expression
Hi. im rather new to symbolic toolbox. Following is my code. clear all; close all; clc; N=3; alphavec = sym('alph...

11 years ago | 0 answers | 0

0

answers

Question


Get coeffients of symbolic expression
I have a set of equations (derv_alpha) that I have arrived at by differentiating an expression and setting it to zero. N=3;...

11 years ago | 1 answer | 0

1

answer

Question


Solving Symbolic Equations and maximizing a function
Sorry, given that this is too long and answer to each step gives a number of solutions to the next step, I will post the problem...

11 years ago | 1 answer | 0

1

answer

Question


Rearrange Variables in an equation that are changing everytime
I want to get one variable in terms of the other variables in the equation. For example syms a b eqn = ('a + 2*b = 1'...

11 years ago | 1 answer | 0

1

answer

Question


Rearrange Variables in an equation
I declare the variables using sym or syms then i have an equation a+2*b=1; I want MATLAB to give me a=1-2*b; or alternative...

11 years ago | 3 answers | 1

3

answers

Answered
MATLAB with JAVA
I tried this and I get the following error in matlab. Any idea why? thanks. ??? Undefined function or variable 'SimpleJavaSigna...

12 years ago | 0

Question


python to MATLAB
Hi, I am using a program called NENGO (http://nengo.ca) (open access) which codes stuff in python. I want to run the python file...

12 years ago | 3 answers | 0

3

answers