Feeds
提问
Errors in converting to C code
Hello everyone, I have the following code that I want to speed up by converting to C (I never did that before): function [MD_...
2 years 前 | 1 个回答 | 0
1
个回答提问
Workspace hiding variables' names
Hello everyone! I am recently having an issue with the workspace. The problem is that whenever I run a code the workspace sho...
2 years 前 | 0 个回答 | 0
0
个回答提问
change color of words in matlab figure text
Hello everyone, I have a matlab figure... is it possible to make a textbox with different colors for each word? Thanks in ad...
2 years 前 | 1 个回答 | 0
1
个回答提问
unrecognized function or variable in parfor
Hello everyone! I am running the following code and getting this error: Error using Coverage_chetlur>(parfor supply) Unrecogn...
3 years 前 | 2 个回答 | 0
2
个回答提问
Symbolic derivative of an arrayfun
Hello everyone, I am trying to compute the derivative of the piecewise function F_Ma, which I called f_Ma. infty = 1e9; zero...
3 years 前 | 0 个回答 | 0
0
个回答提问
Avoiding NaN in a piecewise function
Hello everyone, I have a piecewise function that I am trying to express by means of indicator functions depending on the value ...
3 years 前 | 1 个回答 | 0
1
个回答提问
Scaled sum of products of inequalities
Hello everyone, I am trying to efficiently implement the following formula: where and p is a vector of length n. Do you ha...
3 years 前 | 0 个回答 | 0
0
个回答提问
Computing the dimensions of a geographical area
Hi everyone, I am trying to compute the dimensions of the rectangle (or Cell) shown in blue in the map, which has been generat...
3 years 前 | 1 个回答 | 0
1
个回答提问
Selecting all combinations of points
Hi there, I have a set of points and I would like to generate a code that selects all the possible combinations (the order does...
3 years 前 | 1 个回答 | 0
1
个回答提问
Extract the maximum weight from each subset of overlapping points
Hi everyone, I have a set of coordinates with some overlapping points (lat, lon). Here's an easy example: lat = [ 0 0 0 1...
3 years 前 | 1 个回答 | 0
1
个回答提问
Geoscatters plots the wrong coordinates
Hi everyone, I am trying to use the geoscatter command to plot some data in a realistic map. The problem is that everything I ...
3 years 前 | 0 个回答 | 0
0
个回答提问
Generate a geographical heat map
Hello, I am trying to generate a heat map on mapping toolbox. Here I have the coordinates of the centers in my grid: Lat = 54...
3 years 前 | 1 个回答 | 0
1
个回答提问
Modifying legend entries in a figure
Dear all, I am wondering if it is possible to: 1. change the order of the curves in the legend after they have been plotted. ...
3 years 前 | 1 个回答 | 0
1
个回答提问
exceeded number of array elements
Hello everyone, could you please help me figure out how to fix this error? It is showing up already for B=1 and C=1 Here's...
4 years 前 | 1 个回答 | 0
1
个回答提问
how to reproduce this map for other countries?
Hello, I am trying to reproduce this example for other countries such as Germany, could you please help me to adjust the code?...
4 years 前 | 1 个回答 | 0
1
个回答提问
How to compute integral when one of the limits is a vector
Hello everyone, I am trying to use the function integral to evaluate a function handle in a vector, such as: FunctionToEvalua...
4 years 前 | 1 个回答 | 0
1
个回答提问
brace indexing not supported
Hello everyone, could you please give me hints on how to fix this error in the figure attached? Thank you in advance!
4 years 前 | 1 个回答 | 0
1
个回答提问
Undefined unary operator '-' for input arguments of type 'function_handle'.
Hi everyone, I am having some problems in using the integral functions, is there any suggestion for improving this code and f...
4 years 前 | 1 个回答 | 0
1
个回答提问
Undefined unary operator '-' for input arguments of type 'function_handle'.
Hello everyone, When trying to compute Pc = integral(integrand_Pca, 0, 1) + integral(integrand_Pcb, 1, inf) [ NOTE: integ...
4 years 前 | 1 个回答 | 0