Community Profile

photo

the cyclist


No strings on me

Last seen: Today 2011 以来アクティブ

Obsessive runner. Flâneur. Professional Interests: Predictive modeling, statistics. (I don't respond to email via author page, but will usually look at a question if you send me a link to it.)

Programming Languages:
Python
Spoken Languages:
English

Statistics

All
  • Treasure Hunt Participant
  • Scavenger Finisher
  • Master
  • Thankful Level 4
  • Likeable
  • Famous
  • First Review
  • First Submission
  • 36 Month Streak
  • Revival Level 3
  • Knowledgeable Level 4
  • First Answer

バッジを表示

Content Feed

表示方法

回答済み
What " *.form='full' " means in making structure??
This is a GAMS question, not a MATLAB question. It looks like this page from the GAMS documentation discussing the form field. ...

約5時間 前 | 0

| 採用済み

回答済み
Error in line for CVX
I don't know CVX, but the error message seems straightforward. My best guess is that m is a variable of type cvx, and you are tr...

約8時間 前 | 0

回答済み
How to change variable value for every iteration in a for loop?
for na = 1:length(a) for n=1:length(x) %Coefficient of Lift at each panel l(n) = f(n).*(a(na))-((z(n)).*(...

約10時間 前 | 0

回答済み
How to plot specific values from a matrix of 10*10
M = [0 1 0 2; 0 2 0 3; 0 3 0 4]; colsToPlot = not(all(M==0)); figure plot(M(:,colsToPlot))

約11時間 前 | 0

回答済み
How to set a column vector as a legend name within multiple plots?
Don't take the transpose: legend(strcat('Alpha=',num2str(a1)))

約14時間 前 | 0

| 採用済み

回答済み
Index exceeds the number of array elements (1).
When you make this assignment: T_o=10+15.*sin((Hour-9).*(pi/12)); it looks like T_o is a scalar (i.e. length 1), but then you ...

約15時間 前 | 0

| 採用済み

回答済み
Feature request for postgres support
At least for the first two features, can't you just execute them directly as SQL statements?

1日 前 | 0

回答済み
Need to delete outliers by seeing the plot
data = data(data>-4);

2日 前 | 0

| 採用済み

回答済み
how to read mixed date and data
I would try the readtable function. You can specify the input formating if needed.

2日 前 | 0

回答済み
How can I get multiple plots on one graph, not overlapping?
What an ugly and potentially confusing plotting style. Too bad you are being coerced into doing it that way. One way to do this...

2日 前 | 0

| 採用済み

回答済み
How to convert string to double array in table
% My best guess at your data A = {'[28.346853874154966, 284.04836936606813, 57.820072802912115, 64.72700622938805]'; '[16.5200...

3日 前 | 0

| 採用済み

回答済み
How can I create a Poll in a community
I am as certain as I can be that only MathWorks staff can create such a poll.

3日 前 | 0

| 採用済み

回答済み
How to delete specific cells according to the condition from cell array?
This line of code will identify the cell locations that have a 7x4 array, having those two elements equal: deleteIdx = cellfun(...

3日 前 | 0

回答済み
Is there a way to set the color tag attribute in macOS with MATLAB?
Yes, it is possible. Here is the github repo of a command line tool that will manipulate tags. You can call that command line ...

3日 前 | 1

| 採用済み

回答済み
How can I get data from evaluating a function, say y=x^2+5 and put it in table?
x = linspace(0.1,0.9,50); y = x.^2+5; tbl = table(y.');

4日 前 | 1

| 採用済み

回答済み
Linear regression fit model for Multi-variant responses
I think you need mvregress.

4日 前 | 0

回答済み
Plotting data against time
New answer based on your update. The problem is that your original time series is in two different formats -- not including the...

6日 前 | 0

| 採用済み

回答済み
Plotting data against time
Works for me, when I correctly specify valid dates using the input format. I'm guessing that your datetime is somehow messed up...

6日 前 | 0

回答済み
How do I display multiple num2str in a single row
I expect you'd be much better off using sprintf to format your output.

6日 前 | 0

回答済み
Why am I receiving the error "Array indices must be positive integers or logical values."?
Here is a completely different tack, that I think is less confusing because you just defining the function I(z) more naturally a...

6日 前 | 0

| 採用済み

回答済み
How can I make an exponential fit using two points of my data.
You can use the 'Weights' Name-Value pair, and heavily weight the first point. Here is a made-up example. Notice how f2 passes t...

7日 前 | 0

| 採用済み

回答済み
Why am I receiving the error "Array indices must be positive integers or logical values."?
You have at least two problems with your code. First, you need an explicit multiplication sign in these lines: I(i) = I0*sin(k*...

7日 前 | 1

回答済み
Shaded Standard Deviation Corridors
It's because the last three values of x and y are NaN. dataset=xlsread('Book1.xlsx', 'Sheet1'); tensile_stress = dataset(:,1);...

8日 前 | 1

回答済み
Visualize a vector field function with matlab
x = -3 : 0.5 : 3; y = -3 : 0.5 : 3; z = -3 : 0.5 : 3; [xx,yy,zz] = meshgrid(x,y,z); Fx = xx.*zz; Fy = xx.*yy; Fz =...

9日 前 | 1

| 採用済み

回答済み
hold on option is not working in the present code
The problem doesn't really have anything to do with the legend. The fundamental problem is that you first define L as a paramete...

9日 前 | 0

| 採用済み

回答済み
delete specific rows in a table
I believe this does what you want. Note that this file doesn't have any repeated integer times. So, you don't need the second st...

10日 前 | 0

| 採用済み

回答済み
How to access the equation above the while loop
One straightforward way to do this is by using an anonymous function: % Define an anonymous function for the limit f_limit = @...

10日 前 | 1

| 採用済み

回答済み
Trying to make a code that tells the weather
You should be able to access a weather API (e.g. this free one), using the webread function.

10日 前 | 0

回答済み
legend NumColumns not working in 2018a
It looks to me that the documentation states the change was in R2018b, not R2018a. As you can see, that code works fine here (R...

10日 前 | 0

| 採用済み

回答済み
How to plot like the following figure?
I recommend looking at the MATLAB Plot Gallery, finding a figure that is close to what you need, and pulling the code from there...

10日 前 | 0

もっと読み込む