Community Profile

photo

Nikhil Sapre

MathWorks

Last seen: 15日 前 2021 以来アクティブ

Statistics

  • Knowledgeable Level 2
  • Revival Level 1
  • First Answer

バッジを表示

Content Feed

表示方法

回答済み
Using a loop to export UIAxes
CurrentAxes in your code is a string. The first argument to exportgraphics should be a figure or axes handle. Try this code ...

3ヶ月 前 | 0

回答済み
How to extract the 1 to 4 row and skip 5&6 and continuse 7 and 8 row?
This should work new = [x1(1:4)] new = [new; x1(end-1:end)] Thanks, Nikhil

4ヶ月 前 | 0

| 採用済み

回答済み
Structfun with multiple inputs
Hi Alec, You can overload the minus function for structures and then return a structure from it. Implement the function below...

4ヶ月 前 | 2

| 採用済み

回答済み
Looking for help on graphing
Hi Caleb, Please find an example of the code below. t = linspace(0,50,51); uSol = zeros(1,length(t)); for i = 1:1:length(t)...

4ヶ月 前 | 1

回答済み
How can I combine multiple matfile containing row vector in one table
Hi Yared, Can you check if the order is correct in the variable FileList. My guess is the problem happens because the sorted o...

4ヶ月 前 | 0

| 採用済み

回答済み
Same scaling of colormap in a multipanel spatial plot
Hi Swarendu, You can find the min and maximum values to each of your data sets. Then use the values to set the ColorLimits pro...

4ヶ月 前 | 0

| 採用済み

回答済み
.txt to matrix separated by blank lines
Hi Alyse, Can you try something similar to this? FileList = dir('*.txt'); [~,idx] = sort([FileList.datenum]); FileData = [];...

4ヶ月 前 | 0

回答済み
Exporting only the plot legend to a jpg file
Hi Joe, You can try something like this to turn of visibility of your plots, and axis object. This will export only the Legend ...

4ヶ月 前 | 0

| 採用済み

回答済み
function error (GUIDE)
Hi Kristin, Based on the snippet of code you posted, I see that the function blocks don't have an end. Hence the errors. Her...

4ヶ月 前 | 0

| 採用済み