답변 있음

how do I import date from .xls where cell contains numbers and letters

try strrep and replace with ''

how do I import date from .xls where cell contains numbers and letters

try strrep and replace with ''

대략 11년 전 | 0

| 수락됨

답변 있음

Regstats for a regression on a linear term only

"Alternatively, model can be a matrix of model terms accepted by the x2fx function. See x2fx for a description of this matrix an...

Regstats for a regression on a linear term only

"Alternatively, model can be a matrix of model terms accepted by the x2fx function. See x2fx for a description of this matrix an...

대략 11년 전 | 0

답변 있음

Principle Component Analysis Computation

they are the same because the eigenvector (-.7532 0.6779) is equivalent to (.7532 -0.6779)

Principle Component Analysis Computation

they are the same because the eigenvector (-.7532 0.6779) is equivalent to (.7532 -0.6779)

대략 11년 전 | 0

| 수락됨

답변 있음

First time matlab user problem Matrix dimensions must agree?

imgspec and filter must have the same dimension to do a element-wise multiplications size(imspec) size(filter)

First time matlab user problem Matrix dimensions must agree?

imgspec and filter must have the same dimension to do a element-wise multiplications size(imspec) size(filter)

대략 11년 전 | 0

질문

New Linear Model Class

I just need to take a moment to say how much I love the LinearModel class. Whenever people said they were using R or SAS for the...

대략 11년 전 | 답변 수: 1 | 0

답변 있음

How can I create a loop using date form ?

Not sure if this is the range you wanted, but you can change start and end date to what you like start_date='2/04/2013 0:00...

How can I create a loop using date form ?

Not sure if this is the range you wanted, but you can change start and end date to what you like start_date='2/04/2013 0:00...

대략 11년 전 | 1

| 수락됨

답변 있음

Question about graph data

you just need the location of the maximum value. [tmaxinner locmax]= max(u(:,1)); timetaken = t(locmax,1); this wou...

Question about graph data

you just need the location of the maximum value. [tmaxinner locmax]= max(u(:,1)); timetaken = t(locmax,1); this wou...

대략 11년 전 | 0

답변 있음

How can I transfer data from one GUI to another one?

You can also use a global variable or pass the value via the callback function. The callback function in this case is the funct...

How can I transfer data from one GUI to another one?

You can also use a global variable or pass the value via the callback function. The callback function in this case is the funct...

대략 11년 전 | 1

| 수락됨

답변 있음

import data from excel into matlab gives false date

matlab and excel use different dates to as a starting reference. You just have to add 693960 to the excel date numbers Excel:...

import data from excel into matlab gives false date

matlab and excel use different dates to as a starting reference. You just have to add 693960 to the excel date numbers Excel:...

대략 11년 전 | 0

| 수락됨

답변 있음

Order in combined financial time series

I don't have the financial toolbox, so it's hard to know exactly what's going on. You can use orderfields and specify an array w...

Order in combined financial time series

I don't have the financial toolbox, so it's hard to know exactly what's going on. You can use orderfields and specify an array w...

대략 11년 전 | 0

답변 있음

dataset arrays - extract and reconstruct variables

your notation is a little off x=dataset({array1.var, 'var1'}, {arrray2.var, 'var2'}} or if var is a string containing th...

dataset arrays - extract and reconstruct variables

your notation is a little off x=dataset({array1.var, 'var1'}, {arrray2.var, 'var2'}} or if var is a string containing th...

대략 11년 전 | 0

| 수락됨

답변 있음

How do a read a text file as fixed width columns as in Excel?

The sum of all of your spacing is 93, so you would need 93 characters per entry. The data above has 37, 57, & 57 characters in e...

How do a read a text file as fixed width columns as in Excel?

The sum of all of your spacing is 93, so you would need 93 characters per entry. The data above has 37, 57, & 57 characters in e...

11년 초과 전 | 0

답변 있음

Easter eggs as Matlab code

Okay here is my egg so far. I would like to have a fancy color map, but I thought others might like to make one. I used Dan's po...

Easter eggs as Matlab code

Okay here is my egg so far. I would like to have a fancy color map, but I thought others might like to make one. I used Dan's po...

11년 초과 전 | 1

답변 있음

Is matlab suited for game development?

Short answer no, you would need to buy the Matlab compiler to do this (big $$) and MatLab is not great for GUIs in general

Is matlab suited for game development?

Short answer no, you would need to buy the Matlab compiler to do this (big $$) and MatLab is not great for GUIs in general

11년 초과 전 | 1

| 수락됨

답변 있음

Conversion to cell from double is not possible

It is very hard to tell your problem from this about of information. I can only guess that Output is a cell array and you are tr...

Conversion to cell from double is not possible

It is very hard to tell your problem from this about of information. I can only guess that Output is a cell array and you are tr...

11년 초과 전 | 0

문제를 풀었습니다

The Goldbach Conjecture

The <http://en.wikipedia.org/wiki/Goldbach's_conjecture Goldbach conjecture> asserts that every even integer greater than 2 can ...

11년 초과 전

답변 있음

How can I use subplots with an inside function?

make sure you don't have a close or figure command inside of polygon you could always try to step through with debugger to fi...

How can I use subplots with an inside function?

make sure you don't have a close or figure command inside of polygon you could always try to step through with debugger to fi...

11년 초과 전 | 0

답변 있음

How can I combine values from different columns of a matrix into one single column?

it would be helpful to see you code so far, but i think this is what you need. A is your original matrix (nx3) Anew=A(:,2);...

How can I combine values from different columns of a matrix into one single column?

it would be helpful to see you code so far, but i think this is what you need. A is your original matrix (nx3) Anew=A(:,2);...

11년 초과 전 | 0

| 수락됨

답변 있음

Looping through Structure Elements

Because you are referencing Electrical.Twelve.February before it's created. I'm not sure what your code is trying to do, but ...

Looping through Structure Elements

Because you are referencing Electrical.Twelve.February before it's created. I'm not sure what your code is trying to do, but ...

11년 초과 전 | 0

| 수락됨

답변 있음

Too many input arguments

You must be inputting too many arguments when you call the func. Make sure you are only inputting six arguments. What are you ex...

Too many input arguments

You must be inputting too many arguments when you call the func. Make sure you are only inputting six arguments. What are you ex...

11년 초과 전 | 0

질문

grpstats with nan values

so I thought you use nanmean and nansum to ignore nans with grpstats, but it seems that it always ignores them. I want a nan to ...

11년 초과 전 | 답변 수: 0 | 1

답변 있음

Matlab Guide Table. Need Help. Thanks

You might want to start here. http://www.mathworks.com/help/techdoc/creating_guis/f3-998197.html If you are familiar with ...

Matlab Guide Table. Need Help. Thanks

You might want to start here. http://www.mathworks.com/help/techdoc/creating_guis/f3-998197.html If you are familiar with ...

거의 12년 전 | 0

문제를 풀었습니다

Finding Perfect Squares

Given a vector of numbers, return true if one of the numbers is a square of one of the other numbers. Otherwise return false. E...

거의 12년 전

답변 있음

How and why Matlab defines maximal values for gcf's position (width and height)? It looks like these values are screen resolution dependent ...

figure;plot(1:10) set(gcf, 'Units','normalized','Position',[0 0 1 1]); %fullscreen position is a percentage of your scre...

How and why Matlab defines maximal values for gcf's position (width and height)? It looks like these values are screen resolution dependent ...

figure;plot(1:10) set(gcf, 'Units','normalized','Position',[0 0 1 1]); %fullscreen position is a percentage of your scre...

거의 12년 전 | 0

답변 있음

How to write multiple if statements

looks like you have an end before all your elseif's that shouldn't be there. It helps to smart indent your code when doing neste...

How to write multiple if statements

looks like you have an end before all your elseif's that shouldn't be there. It helps to smart indent your code when doing neste...

거의 12년 전 | 1

답변 있음

Alternative to xlsread from website data on mac: matlab R2012a

To change the file type you can use a dos command dos('move BPA_BRD_data.xls BPA_BRD_data.csv') I prefer to bring my exc...

Alternative to xlsread from website data on mac: matlab R2012a

To change the file type you can use a dos command dos('move BPA_BRD_data.xls BPA_BRD_data.csv') I prefer to bring my exc...

거의 12년 전 | 0

답변 있음

How to access specific data when using "getfield"

You can reference the field of a structure dynamically with Charge.Curve1 or Charge.('Curve1') Loren has some nice blog posts o...

How to access specific data when using "getfield"

You can reference the field of a structure dynamically with Charge.Curve1 or Charge.('Curve1') Loren has some nice blog posts o...

거의 12년 전 | 0

문제를 풀었습니다

All capital?

Are all the letters in the input string capital letters? Examples: 'MNOP' -> 1 'MN0P' -> 0

대략 12년 전

문제를 풀었습니다

Making change

Given an amount of currency, return a vector of this form: [100 50 20 10 5 2 1 0.5 0.25 0.1 0.05 0.01] Example: Input a = ...

대략 12년 전